Small Victories Blog
160528 google analytics tip


Need Google Analytics?

Adding Google Analytics to your Small Victory

First you need to find your tracking code. You already set up a google analytics account right (if you haven’t this will tell you how)? Follow these steps to get your tracking code.

Once you have that all you need to do is drop the code, without the <script> tags, into your _sv_custom.js file in you site folder in Dropbox. It should look something like this:

function($) {
    // Write your own javascript here.
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  ga('create', 'GOOGLE_ANALYTICS_ID', 'auto');
  ga('send', 'pageview');

Check out the docs for more tips like this.


Next Post

Featured Site

Design is Trash