--- title: "Embed Google Analytics" slug: "embed-google-analytics" description: "Learn how to locate and send your Google Analytics tracking script for CivicPlus to install—essential for accurate website traffic tracking and setup." updated: 2025-08-12T19:24:29Z published: 2025-08-12T19:24:29Z canonical: "www.civicplus.help/embed-google-analytics" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://www.civicplus.help/llms.txt > Use this file to discover all available pages before exploring further. # Embed Google Analytics 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](https://marketingplatform.google.com/about/analytics/) 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'.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/360080784454.png?sv=2026-02-06&spr=https&st=2026-11-24T02%3A35%3A31Z&se=2026-11-24T03%3A35%3A31Z&sr=b&sp=r&sig=b3WPpTUJuw%2FwKsUzM%2FAJ8qTr2Q77hcDPhy02nlIdndU%3D) 3. Scroll down and select **Admin** ![The cogwheel icon to the left of the URL labeled Admin in the bottom left corner.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/360080784474.png?sv=2026-02-06&spr=https&st=2026-11-24T02%3A35%3A31Z&se=2026-11-24T03%3A35%3A31Z&sr=b&sp=r&sig=4rfPs3zFV2OAxPK1ah0RooNmOcAszw50fb9hTD%2BqD3k%3D) 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.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/360081849493.png?sv=2026-02-06&spr=https&st=2026-11-24T02%3A35%3A31Z&se=2026-11-24T03%3A35%3A31Z&sr=b&sp=r&sig=1VnZDyNEmciqEk41SJ5yB0Z8Nkbe9eaKZBuZz3hD8WM%3D) > [!WARNING] > 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](/municipal-websites-evolve/docs/contact-support), and we will take care of the rest Identification or Identifier.