Sign in to your Google Tag Manager account (if you haven’t installed Google Tag Manager on your Squarespace site, check out this tutorial), select the container that is set up on your Squarespace website and go to “Tags”.
Click on “New” to create a new tag. It is recommended that it contains a mention to Google Analytics, it makes it easier in the future to locate the tags you are looking for. For example, we named it “GA_TrackingCode”.
Click on the “Tag Configuration” section and select “Universal Analytics”.
You’re now going to create a “Variable” where we are going to store the Google Analytics Tracking ID.
Click on the “Google Analytics Settings” drop-down, and select “New Variable…”
First, copy the Google Analytics Tracking ID (that you took note of in the previous step).
Next, rename the variable by clicking on the text on top. (you will want to give it a name that easily identifies what this variable is – e.g. “GA Tracking ID”)
Finally, hit “Save”.
You will be taken back to the previous menu.
Now you will want to set up a “Trigger” for this “Tag”. To do that, click on the “Triggering” section, and once the new menu opens click “All pages”.
You are now ready to save your settings by clicking on “Save”.
If you now click on “Overview” on the sidebar, this is how your Google Tag Manager overview dashboard should look like.
If everything looks ok, you are now ready to hit “Submit”.
In the Submission Configuration panel, you will be given the chance to add a name and description to this version. After you have done so, hit “Publish”.
And that’s it! You should be all set—now let’s make sure everything is working properly.