/ga4tumblr

Advanced Google Analytics tag for Tumblr sites

Primary LanguageJavaScript

Advanced Google Analytics tag for Tumblr sites

This tag has the following extra features:

  • Pageview for interactions with the photos and javascript links;
  • Pageview for clicks on outbound links;
  • The tag does not run on your own access to the site;

Install instruction

Add the snippet below in the "Description" area of your Tumblr, replacing the UA-XXXXX-X by your Google Analytics profile code.

<!-- https://code.google.com/p/ga4tumblr/ -->
<script type="text/javascript">
var ga4tumblr_ua = "UA-XXXXX-X";
</script>
<script type="text/javascript" charset="UTF-8" src="http://phms4server.appspot.com/fake-cdn/js/ga4tumblr.min.js"></script>

We include the following javaScript library