Politics

Republication guidelines

About the tracking pixel

When you paste this story into your backend, you will find a snippet of javascript at the bottom that looks like the code below. This is the tracking pixel. It is a commonly used tool that will allow us to measure the reach of our work. If you prefer to copy the tracking pixel separately, here it is:


<script type="application/javascript">
    window.addEventListener('DOMContentLoaded', (event) => {
      var img = document.createElement('img');
      var src = 'https://www.google-analytics.com/collect?v=1';
      src += '&tid=UA-172916447-1';
      src += '&cid=1';
      src += '&t=pageview';
      src += '&dl=' + encodeURIComponent('https://nexusmedianews.com/one-small-town-plans-for-climate-change/');
      src += '&dt=' + encodeURIComponent('One Small Town Plans for Climate Change');
      src += '&dr=' + encodeURIComponent(window.location.href);
      img.src = src;
      img.width = 1;
      img.height = 1;
      img.setAttribute('style', 'display: none;');
      img.setAttribute('aria', 'hidden');
      img.setAttribute('role', 'presentation');
      img.alt	= '';
      document.body.appendChild(img);
    });
</script>

Subscribe

Get updates on the latest climate news delivered to your inbox.

RSS Feed