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
Navigate to the Google Marketing Platform
Click Sign In to Analytics if you have an existing account or click Start For Free if you want a new account
Select Admin
Select Tracking Info
Click Tracking Code to view the script
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');
If you want to install your tracking solution for an entire site, send the Script to our Support Team