Embed Google Analytics

Prev Next

The following instructions outline how to obtain the Google Analytics code that CivicPlus needs to insert into your site.

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 The buttons labeled 'Sign in to Analytics' and 'Start for free'.

  3. Scroll down and select Admin The cogwheel icon to the left of the URL labeled Admin in the bottom left corner.

  4. Click Tracking Info, then Tracking Code The option labeled Tracking Info tab, on the left side of the screen, then Tracking Code in the Tracking Info tab.

    Note:

    We do not need the tracking ID number, but we need the script that is in the Tracking Code text 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');

  5. Send the Script to Support, and we will take care of the rest