@jamaicawinshipgmail-com @andreea-macoveiciuc-content-expert @danielisler1gmail-com
Get advanced insights for your website.
Find your Google Analytics tracking ID by clicking on Tracking Info > Tracking Code in your Google Analytics dashboard. Your tracking ID will appear at the top of the page.
Your tracking ID is a unique code that identifies and connects your external site to your Google Analytics account.
The global site tag includes several lines of code. Keep this page open in a separate tab, as you will need to reference this code in a later step.
Go to your Squarespace account and navigate to Settings > Advanced Settings on the main menu. Click on External API Keys under the Advanced Settings menu.
It can take up to 24 hours for any data from your website on Squarespace to show up in Google Analytics reporting.
Make sure you do not miss any sections of the code. It should begin with:
```and end with:
## Navigate to ***Settings > Advanced > Code Injection*** on your Squarespace dashboard and paste your global site tag into the ***Header*** text box. Code added with the Code Injection feature will affect all pages of your Squarespace site. It may take up to 30 minutes for data collection to begin through Google Analytics. ## Return to your Google Analytics dashboard and navigate to ***Reports > Real-Time > Overview*** to confirm that GA is receiving traffic from your Squarespace site. With the Real-Time report, you can see how much active traffic is currently active on your website. Once your Google Analytics account is connected to your Squarespace website, you can refer back to valuable metrics such as page views, average session duration, average pages viewed per session, bounce rate, audience reports, and much more. Google Analytics provides a wealth of information that you can use to analyze audience behavior, track website performance, measure what methods are working well versus what could use improvement, and optimize your site for better search rankings.
Last edited by @hesh_fekry 2023-11-14T11:45:34Z