Product Dev Back to Ghost

How to add GoSquared Analytics to your blog

Adding GoSquared to your Ghost blog

You can quickly and easily add in a GoSquared Analytics in the same way you would add Google Analytics to your Ghost blog - by using code injection.

If you do not already have a GoSquared account, you can sign up for their free account here. Once your account has been created, you'll have a few different integration options. To use GoSquared with Ghost, select the manual integration option.

GoSquared Manual Integration

You should have a tracking code that is similar to this,

<script>
  !function(g,s,q,r,d){r=g[r]=g[r]||function(){(r.q=r.q||[]).push(
  arguments)};d=s.createElement(q);q=s.getElementsByTagName(q)[0];
  d.src='//d1l6p2sc9645hc.cloudfront.net/tracker.js';q.parentNode.
  insertBefore(d,q)}(window,document,'script','_gs');

  _gs('GSN-XXXXXX-W');
</script>

Copy your GoSquared tracking code and paste it directly into the blog header field on your code injection screen.

Click Save to apply your changes. Once saved, this script will run on every page of your blog.