---
title: How to add Google Analytics
description: In this article, we'll show you how to connect your Google Analytics account to your SiteManager web project.
---

[Skip to content](https://support.sitemanager.io/en/seo/basics/how-to-add-google-analytics#main-content)

[![SiteManager Platform](https://support.sitemanager.io/hs-fs/hubfs/SM_Platform-logo.png?width=164&height=40&name=SM_Platform-logo.png)](https://support.sitemanager.io/en?hsLang=en)

Open main navigation

Close main navigation

- [Go to sitemanager.io](https://www.sitemanager.io/)

[Go to sitemanager.io](https://www.sitemanager.io/)

 How can we help?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://support.sitemanager.io/en?hsLang=en)
2. [SEO](https://support.sitemanager.io/en/seo?hsLang=en)
3. [Basics](https://support.sitemanager.io/en/seo?hsLang=en#basics)

# How to add Google Analytics

## Google Analytics (GA) is a powerful tool to track user behavior and optimize your website. In this article, we'll show you how to connect your GA account to your SiteManager web project.

**Note:**   
You need a Google account to set up a Google Analytics account. 

### In this article

[Step 1: Retrieve your Google Analytics ID](https://support.sitemanager.io/en/seo/basics/how-to-add-google-analytics#retrieve-ga)

- [Google Analytics 4](https://support.sitemanager.io/en/seo/basics/how-to-add-google-analytics#ga4)
- [Universal Google Analytics](https://support.sitemanager.io/en/seo/basics/how-to-add-google-analytics#gau)

[Step 2: Install the Google Analytics upgrade](https://support.sitemanager.io/en/seo/basics/how-to-add-google-analytics#install-ga)

[Step 3: Connect Google Analytics to SiteManager](https://support.sitemanager.io/en/seo/basics/how-to-add-google-analytics#connect-ga)

### Step 1: Retrieve your Google Analytics ID

Google Analytics 4

- **Sign** in to your [Google Analytics](https://analytics.google.com/analytics/web/) account.
- **Click** the *Admin* button at the bottom of the left page.
- **Open** *Data Streams* in the second column.
- **Select** the stream you wish to add to your SiteManager project.
- **Copy** your *Measurement ID* from the top-right corner (ex: G-XXXXXXXXXX).
  
  ![Platte tekst toevoegen](https://support.sitemanager.io/hs-fs/hubfs/Platte%20tekst%20toevoegen.png?width=670&name=Platte%20tekst%20toevoegen.png)

Universal Google Analytics

- **Sign** in to your [Google Analytics](https://analytics.google.com/analytics/web/) account.
- **Click** the *Admin* button at the bottom of the left page.
- **Open** *Tracking Info* in the second column, and **select** *Tracking Code.*
- **Copy** your *Tracking ID* from the top-right corner (ex: UA-XXXXXXXXX-1).
  
  ![XXXXXXXXXX](https://support.sitemanager.io/hs-fs/hubfs/XXXXXXXXXX.png?width=670&name=XXXXXXXXXX.png)

**Note: **

Google Analytics 4 (GA4) is the latest iteration of the Google Analytics platform. GA4 replaces Universal Analytics (UA) as the default for digital analytics measurement in GA. Google announced that GA4 will be the only option beginning on July 1, 2023. 

### Step 2: Install the Google Analytics upgrade

If you can't find Google Analytics in Upgrade Project, this means that it is already installed. In that case, navigate to Project > SEO > Google Analytics

- **Log in** to the web project to which you want to add [Google Analytics](https://analytics.google.com/). 
- **Navigate** to *Project* > *Upgrade Project.*![](https://support.sitemanager.io/hubfs/Screenshot%202022-06-30%20at%2016-55-29-png-1.png)
- **Select** *SEO and Analytics.*![](https://support.sitemanager.io/hubfs/Screenshot%202022-06-30%20at%2016-55-48-png.png)
- **Find** the *Google Analytics* block, and **click** *Add to site
  
  ![](https://support.sitemanager.io/hubfs/Screenshot%202022-06-30%20at%2017-42-52-png.png)*
- **Confirm** by clicking *Install.![](https://support.sitemanager.io/hubfs/Screenshot%202022-06-30%20at%2017-44-51-png.png)*

### Step 3: Connect Google Analytics to SiteManager

- **Toggle** between *Google Analytics 4* or *Google Analytics Universal*, depending on which GA account you have.![](https://support.sitemanager.io/hubfs/Screenshot%202022-06-30%20at%2017-46-34-png.png)
- **Click** *Connect Google Analytics.*
- **Paste** the *Measurement ID* (G-XXXXXXXXXX) or*Tracking ID* (UA-XXXXXXXXX-1) you retrieved in Step 1.
- **Click** *Connect* and you're all set!

Remember to **publish all pages** after adding the Google Analytics key to your project.

 

- [Getting Started](https://support.sitemanager.io/en/getting-started?hsLang=en)
- [Dashboard](https://support.sitemanager.io/en/dashboard?hsLang=en#main-content)
  
  
  
  
  
    - [Getting Started](https://support.sitemanager.io/en/dashboard?hsLang=en#getting-started)
    - [Project Dashboard](https://support.sitemanager.io/en/dashboard?hsLang=en#project-dashboard)
    - [White Label & Add-ons](https://support.sitemanager.io/en/dashboard?hsLang=en#white-label-add-ons)
    - [Go Live](https://support.sitemanager.io/en/dashboard?hsLang=en#go-live)
- [Account](https://support.sitemanager.io/en/account?hsLang=en#main-content)
  
  
  
  
  
    - [Account Settings](https://support.sitemanager.io/en/account?hsLang=en#account-settings)
    - [My Company](https://support.sitemanager.io/en/account?hsLang=en#my-company)
    - [Subscription](https://support.sitemanager.io/en/account?hsLang=en#subscription)
- [Project](https://support.sitemanager.io/en/project?hsLang=en#main-content)
  
  
  
  
  
    - [General](https://support.sitemanager.io/en/project?hsLang=en#general)
    - [Upgrade Project](https://support.sitemanager.io/en/project?hsLang=en#upgrade-project)
- [SEO](https://support.sitemanager.io/en/seo?hsLang=en#main-content)
  
  
  
  
  
    - [Basics](https://support.sitemanager.io/en/seo?hsLang=en#basics)
    - [Advanced](https://support.sitemanager.io/en/seo?hsLang=en#advanced)
- [Go Live](https://support.sitemanager.io/en/go-live?hsLang=en#main-content)
  
  
  
  
  
    - [Prepare Project](https://support.sitemanager.io/en/go-live?hsLang=en#prepare-project)
    - [Prepare Domain](https://support.sitemanager.io/en/go-live?hsLang=en#prepare-domain)
    - [Going Live](https://support.sitemanager.io/en/go-live?hsLang=en#going-live)
- [Content](https://support.sitemanager.io/en/content?hsLang=en#main-content)
  
  
  
  
  
    - [Getting Started](https://support.sitemanager.io/en/content?hsLang=en#getting-started)
    - [Page Management](https://support.sitemanager.io/en/content?hsLang=en#page-management)
    - [Content Management](https://support.sitemanager.io/en/content?hsLang=en#content-management)
    - [Language Management](https://support.sitemanager.io/en/content?hsLang=en#language-management)
    - [Image Library](https://support.sitemanager.io/en/content?hsLang=en#image-library)
    - [Collaborating on a project](https://support.sitemanager.io/en/content?hsLang=en#collaborating-on-a-project)
- [Page Components](https://support.sitemanager.io/en/page-components?hsLang=en#main-content)
  
  
  
  
  
    - [Getting Started](https://support.sitemanager.io/en/page-components?hsLang=en#getting-started)
    - [HTML](https://support.sitemanager.io/en/page-components?hsLang=en#html)
    - [CSS](https://support.sitemanager.io/en/page-components?hsLang=en#css)
    - [JavaScript (JS)](https://support.sitemanager.io/en/page-components?hsLang=en#javascript-js)
    - [How To](https://support.sitemanager.io/en/page-components?hsLang=en#how-to)
- [Layout Components](https://support.sitemanager.io/en/layout-components?hsLang=en)
- [No-Code Editor](https://support.sitemanager.io/en/no-code-editor?hsLang=en#main-content)
  
  
  
  
  
    - [Getting Started](https://support.sitemanager.io/en/no-code-editor?hsLang=en#getting-started)
    - [Properties](https://support.sitemanager.io/en/no-code-editor?hsLang=en#properties)
    - [Advanced](https://support.sitemanager.io/en/no-code-editor?hsLang=en#advanced)
- [Design](https://support.sitemanager.io/en/design?hsLang=en#main-content)
  
  
  
  
  
    - [Overview](https://support.sitemanager.io/en/design?hsLang=en#overview)
    - [Design editor](https://support.sitemanager.io/en/design?hsLang=en#design-editor)
    - [Design Panels](https://support.sitemanager.io/en/design?hsLang=en#design-panels)
    - [Responsive](https://support.sitemanager.io/en/design?hsLang=en#responsive)
    - [Fonts](https://support.sitemanager.io/en/design?hsLang=en#fonts)
    - [Layouts](https://support.sitemanager.io/en/design?hsLang=en#layouts)
- [Code](https://support.sitemanager.io/en/code?hsLang=en#main-content)
  
  
  
  
  
    - [Introduction](https://support.sitemanager.io/en/code?hsLang=en#introduction)
    - [Token Management](https://support.sitemanager.io/en/code?hsLang=en#token-management)
    - [Project Setup](https://support.sitemanager.io/en/code?hsLang=en#project-setup)
    - [ToolStack](https://support.sitemanager.io/en/code?hsLang=en#toolstack)
    - [Private Library](https://support.sitemanager.io/en/code?hsLang=en#private-library)
- [Dynamic Content](https://support.sitemanager.io/en/dynamic-content?hsLang=en#main-content)
  
  
  
  
  
    - [Getting started](https://support.sitemanager.io/en/dynamic-content?hsLang=en#getting-started)
    - [Basics](https://support.sitemanager.io/en/dynamic-content?hsLang=en#basics)
    - [Advanced](https://support.sitemanager.io/en/dynamic-content?hsLang=en#advanced)
- [External Content](https://support.sitemanager.io/en/external-content?hsLang=en#main-content)
  
  
  
  
  
    - [Getting started](https://support.sitemanager.io/en/external-content?hsLang=en#getting-started)
    - [Configuration & implementation](https://support.sitemanager.io/en/external-content?hsLang=en#configuration-implementation)
- [Logic (Smart Content)](https://support.sitemanager.io/en/logic-smart-content?hsLang=en#main-content)
  
  
  
  
  
    - [Getting Started](https://support.sitemanager.io/en/logic-smart-content?hsLang=en#getting-started)
    - [Configuration & Implementation](https://support.sitemanager.io/en/logic-smart-content?hsLang=en#configuration-implementation)
    - [Logic](https://support.sitemanager.io/en/logic-smart-content?hsLang=en#logic)
    - [AB testing](https://support.sitemanager.io/en/logic-smart-content?hsLang=en#ab-testing)
    - [Timed Content](https://support.sitemanager.io/en/logic-smart-content?hsLang=en#timed-content)
    - [Password Protected Content](https://support.sitemanager.io/en/logic-smart-content?hsLang=en#password-protected-content)
    - [Smart API](https://support.sitemanager.io/en/logic-smart-content?hsLang=en#smart-api)
- [Integrations](https://support.sitemanager.io/en/integrations?hsLang=en#main-content)
  
  
  
  
  
    - [Getting Started](https://support.sitemanager.io/en/integrations?hsLang=en#getting-started)
    - [Integrations](https://support.sitemanager.io/en/integrations?hsLang=en#integrations)
    - [Advanced](https://support.sitemanager.io/en/integrations?hsLang=en#advanced)
- [Modules](https://support.sitemanager.io/en/modules?hsLang=en#main-content)
  
  
  
  
  
    - [Getting Started](https://support.sitemanager.io/en/modules?hsLang=en#getting-started)
    - [Modules](https://support.sitemanager.io/en/modules?hsLang=en#modules)
- [Upgrade Center](https://support.sitemanager.io/en/upgrade-center?hsLang=en#main-content)
  
  
  
  
  
    - [Components](https://support.sitemanager.io/en/upgrade-center?hsLang=en#components)
- [Forms](https://support.sitemanager.io/en/forms?hsLang=en#main-content)
  
  
  
  
  
    - [General](https://support.sitemanager.io/en/forms?hsLang=en#general)
    - [Captcha](https://support.sitemanager.io/en/forms?hsLang=en#captcha)
    - [Form Actions](https://support.sitemanager.io/en/forms?hsLang=en#form-actions)
    - [Extending Forms](https://support.sitemanager.io/en/forms?hsLang=en#extending-forms)
    - [Email Templates](https://support.sitemanager.io/en/forms?hsLang=en#email-templates)
    - [Advanced](https://support.sitemanager.io/en/forms?hsLang=en#advanced)
- [Cookie Settings](https://support.sitemanager.io/en/cookie-settings?hsLang=en#main-content)
  
  
  
  
  
    - [Getting Started](https://support.sitemanager.io/en/cookie-settings?hsLang=en#getting-started)
    - [Configuration](https://support.sitemanager.io/en/cookie-settings?hsLang=en#configuration)
- [API Call](https://support.sitemanager.io/en/api-call?hsLang=en#main-content)
  
  
  
  
  
    - [Configuration](https://support.sitemanager.io/en/api-call?hsLang=en#configuration)

[![SiteManager Icon](https://support.sitemanager.io/hs-fs/hubfs/logo_icon_big.png?width=15&height=24&name=logo_icon_big.png "SiteManager Icon")](https://support.sitemanager.io/en?hsLang=en)

 

<https://www.facebook.com/TeamSiteManager/> <https://twitter.com/TeamSiteManager/> <https://www.instagram.com/teamsitemanager/> <https://www.linkedin.com/company/sitemanager/> <https://www.youtube.com/user/SiteMNGR/>

Copyright © 2026, SiteManager Group