How To Install Google Analytics & Google Tag Manager Codes

Ready to connect Google Analytics and/or Google Tag Manager to your Carrot site? Wonderful! This page will help guide you through that process.

Before you get started, Google recently made some changes in response to the many concerns about internet privacy. You can learn more about that here. At this time, we recommend you use the Universal ID, which will need to be created. Below is how you can create and add the Universal ID to your site.


Step 1: Sign up for an Analytics Account

If you’ve already created your account prior to October 2020, your account will look different and you will have different steps to find your analytics ID. Here’s a full tutorial, supplied by Google, to walk you through those steps.

If you haven’t created a Google Analytics account, create an account here. Name your account and hit the “next” button to go to the Property Setup.


Step 2: Set Your “Advanced Options”

  1. To create a Universal ID, you must select “Show Advanced Options” under Property setup. Enter your website URL and complete the Analytics account setup. This is shown in the GIF below:

Important Note: If you already set up your property, and the prior step was not taken, you’ll need to delete the original site property and create a new property. Here are Google’s instructions to access that. You’ll find this under Admin > Property Settings > Create Property


Step 3: Copy Your Universal Analytics ID

If you are creating this property for the first time – once you click Create, scroll to “Manage Connected Site Tags” and click this tab to view your UA ID below your new entry box:

If this property was already created – Navigate to Settings > Data Streams > Manage Connected Tags and then copy the UA tag:


Step 4: Add the UA Code to Your Analytics & Script Area:

  1. From your main Dashboard, click on Settings > Analytics & Scripts:
  1. Click on the field labeled “Google Analytics Tracking ID” and paste the UA code you copied from the previous step. Click the green Save button!

All set!