{"slug":"sop-164-how-to-add-google-analytics-4-to-squarespace","title":"How to add Google Analytics 4 to Squarespace","tags":["source:clickminded","type:sop","server:clickminded-sop","google","analytics","squarespace"],"agent_summary":"SOP 164: How to add Google Analytics 4 to Squarespace Successfully add Google Analytics 4 to Squarespace without knowing how to code. __Last Updated / Reviewed:__ 07/30/2024 __Execution Time:__ 5 Mins","trigger_phrases":["how to add google analytics 4 to squarespace"],"runnable":false,"markdown":"\r\nSOP 164: How to add Google Analytics 4 to Squarespace\r\n\r\nSuccessfully add Google Analytics 4 to Squarespace without knowing how to code.\r\n\r\n__Last Updated / Reviewed:__ 07/30/2024\r\n\r\n__Execution Time:__ 5 Mins\r\n\r\n__🚀 Goal:__ Successfully add Google Analytics 4 to Squarespace.\r\n\r\n__🤞 Ideal Outcome:__ Google Analytics 4 is properly added without any technical issues.\r\n\r\n__🤔 Why this is important:__ Google Analytics 4 is the next generation analytics platform by Google (replacing the legacy platform Universal Analytics). It’s privacy focused as well as better suited to track the customer journey across platforms and devices.\r\n\r\n__🧐 Where this is done__ Google Analytics and Squarespace.\r\n\r\n__🗓️ When this is done:__ In the early stage of marketing your business or a new product.\r\n\r\n__👨 Who does this:__ Marketing Manager, marketing consultant, or any person responsible for marketing strategy for your business.\r\n\r\n__⚠️Prerequisites or requirements: __You need to have an existing Google Analytics 4 account. If you don’t have one, follow SOP 163 ([web version](https://members.clickminded.com/sop/163/)) here and create one.\r\n\r\n[__Click here to get the most up-to-date version of this SOP__](https://members.clickminded.com/sop/164)\r\n\r\n## Get tracking ID from Google Analytics 4\r\n\r\n### 01▸ Login to your [Google Analytics account](https://analytics.google.com/).\r\n\r\n### 02▸ Click “Admin”.\r\n\r\n\r\n### 03▸ Make sure you’ve selected the correct property (website) and select “Data Streams”.\r\n\r\n\r\n### 04▸ Select your website that you want to implement Google Analytics 4.\r\n\r\n\r\n### 05▸ Click on the measurement ID to copy it.\r\n\r\n\r\n### 06▸ You can paste it in a text editor or notepad for now. You will need this later.\r\n\r\n## Add Google Analytics 4 tracking ID to Squarespace\r\n\r\n### 01▸ Login to your [Squarespace account](https://account.squarespace.com/) and select a site to edit.\r\n\r\n\r\n### 02▸ In your site dashboard, select “Settings”.\r\n\r\n\r\n### 03▸ Then, in the site settings, select “External API Keys”.\r\n\r\n\r\n### 04▸ Paste the Google Analytics tracking ID that you copied earlier into GOOGLE ANALYTICS and hit Save.\r\n\r\n\r\nYou've now added Google Analytics 4 to Squarespace!\r\n\r\n## Verify your setup inside Google Analytics\r\n\r\n### 01▸ To test if the tracking code works, login to your [Google Analytics 4 account](https://analytics.google.com/).\r\n\r\n### 02▸ You will be taken to your account dashboard.\r\n\r\n### 03▸ Head to the real-time report under Report ➞ Real-time\r\n\r\n\r\nYou should see (at least) 1 active user on the website.\r\n\r\n\r\n### 04▸ Verify the country where the user is from (it should be where you are currently located).\r\n\r\n### 05▸ If you see user activities on your real-time report, then you can confirm the Analytics 4 has been implemented successfully.","html":"<p>SOP 164: How to add Google Analytics 4 to Squarespace</p>\n<p>Successfully add Google Analytics 4 to Squarespace without knowing how to code.</p>\n<p><strong>Last Updated / Reviewed:</strong> 07/30/2024</p>\n<p><strong>Execution Time:</strong> 5 Mins</p>\n<p><strong>🚀 Goal:</strong> Successfully add Google Analytics 4 to Squarespace.</p>\n<p><strong>🤞 Ideal Outcome:</strong> Google Analytics 4 is properly added without any technical issues.</p>\n<p><strong>🤔 Why this is important:</strong> Google Analytics 4 is the next generation analytics platform by Google (replacing the legacy platform Universal Analytics). It’s privacy focused as well as better suited to track the customer journey across platforms and devices.</p>\n<p><strong>🧐 Where this is done</strong> Google Analytics and Squarespace.</p>\n<p><strong>🗓️ When this is done:</strong> In the early stage of marketing your business or a new product.</p>\n<p><strong>👨 Who does this:</strong> Marketing Manager, marketing consultant, or any person responsible for marketing strategy for your business.</p>\n<p>__⚠️Prerequisites or requirements: __You need to have an existing Google Analytics 4 account. If you don’t have one, follow SOP 163 (<a href=\"https://members.clickminded.com/sop/163/\">web version</a>) here and create one.</p>\n<p><a href=\"https://members.clickminded.com/sop/164\"><strong>Click here to get the most up-to-date version of this SOP</strong></a></p>\n<h2>Get tracking ID from Google Analytics 4</h2>\n<h3>01▸ Login to your <a href=\"https://analytics.google.com/\">Google Analytics account</a>.</h3>\n<h3>02▸ Click “Admin”.</h3>\n<h3>03▸ Make sure you’ve selected the correct property (website) and select “Data Streams”.</h3>\n<h3>04▸ Select your website that you want to implement Google Analytics 4.</h3>\n<h3>05▸ Click on the measurement ID to copy it.</h3>\n<h3>06▸ You can paste it in a text editor or notepad for now. You will need this later.</h3>\n<h2>Add Google Analytics 4 tracking ID to Squarespace</h2>\n<h3>01▸ Login to your <a href=\"https://account.squarespace.com/\">Squarespace account</a> and select a site to edit.</h3>\n<h3>02▸ In your site dashboard, select “Settings”.</h3>\n<h3>03▸ Then, in the site settings, select “External API Keys”.</h3>\n<h3>04▸ Paste the Google Analytics tracking ID that you copied earlier into GOOGLE ANALYTICS and hit Save.</h3>\n<p>You've now added Google Analytics 4 to Squarespace!</p>\n<h2>Verify your setup inside Google Analytics</h2>\n<h3>01▸ To test if the tracking code works, login to your <a href=\"https://analytics.google.com/\">Google Analytics 4 account</a>.</h3>\n<h3>02▸ You will be taken to your account dashboard.</h3>\n<h3>03▸ Head to the real-time report under Report ➞ Real-time</h3>\n<p>You should see (at least) 1 active user on the website.</p>\n<h3>04▸ Verify the country where the user is from (it should be where you are currently located).</h3>\n<h3>05▸ If you see user activities on your real-time report, then you can confirm the Analytics 4 has been implemented successfully.</h3>\n"}