Embed Google Analytics

Prev Next

This article will show you how to obtain the Google Analytics code that we need to insert into your site. It includes information regarding the tracking code and the script needed to start tracking.

Instructions

  1. Navigate to the Google Marketing Platform

  2. Click Sign In to Analytics if you have an existing account or click Start For Free if you want a new account  sign in

  3. Select Adminadmin menu

  4. Select Tracking Infotracking info

  5. Click Tracking Code to view the scripttracking code

    Note: We do not need the Tracking ID number, but we need the script that is in the Website Tracking > Global Site Tag box

    • Example:(functions(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].I=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js',ga');ga('create','UA-00000000-1','auto'); ga('send','pageview');

  6. If you want to install your tracking solution for an entire site, send the Script to our Support Team