Skip to content

Instantly share code, notes, and snippets.

@eriklincoln
Created July 27, 2012 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eriklincoln/3189379 to your computer and use it in GitHub Desktop.
Save eriklincoln/3189379 to your computer and use it in GitHub Desktop.
Center UCLA tracking code
<!-- Place with body copy. Can go at bottom if story is not paginated. If story is paginated, please put on every page. -->
<div id="cpi_widget"></div>
<script type="text/javascript">(function() {document.getElementById('cpi_widget').innerHTML = '<iframe src=\"http://cloudfront-1.iwatchnews.org/widgets/syndication/node/10313?host='+escape(window.location.hostname)+'&href='+escape(window.location.href)+'&referrer='+escape(document.referrer)+'\" width=\"0\" height=\"0\" frameBorder=\"0\" style=\"border: none; background: transparent; width: 0px; height: 0px;\"></iframe>'})();</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment