How to Add Google Analytics to Squarespace: A Step-by-Step Guide

Do you want to add Google Analytics to your Squarespace website? Adding Google Analytics lets you take control of your website and make informed decisions to improve your traffic. Read on to learn how to add Google Analytics to your Squarespace website in three simple steps.

Want to learn more about Squarespace? Check out our Squarespace Website Builder Review for more information.

Want to learn how to use Google Analytics? Take this online course created by Google.


Step 1: Create a Google Analytics Account

Before you can add Google Analytics to Squarespace, you must create a Google Analytics account.

To create a Google Analytics account:

  1. Visit the Google Analytics website.
  2. If you have an existing Google account, you may use this to sign in or follow the prompts to create a new one.
  3. Once you have logged in or created an account, click on the blue “Start measuring” button.                               How to Add Google Analytics to Squarespace.
  4. In the “Account name” field, enter an account — ideally, the name of your business.                               How to Add Google Analytics to Squarespace.
  5. Decide what data you want to share with Google, then click on the “Next” button.
  6. Next, you will arrive at the “Property details” screen. Your property name is the name of your website — typically, the same name as your business. 
  7. In the “Property name” field, enter your property name, select your time zone and local currency.                            How to Add Google Analytics to Squarespace.
  8. Under “Show advanced options” use the switch to turn on “Create a Universal Analytics property.”
  9. Enter your website’s URL and select its security protocol.
  10. Because Squarespace is not currently compatible with Google Analytics 4, you may simply select “Create a Universal Analytics property only” and click “Next” to proceed.                                       How to Add Google Analytics to Squarespace.
  11. You’ll then arrive on a “Business information” screen. Select your “Industry category” and “Business size.” Also, check the appropriate boxes under “How do you intend to use Google Analytics with your business?” and then click the “Create” button.                               How to Add Google Analytics to Squarespace.
  12. Decide which emails you wish to receive regarding Google Analytics, check the appropriate boxes, and then click the “Save” button.                                 How to Add Google Analytics to Squarespace.
  13. Locate your Google Analytics tracking ID, then copy this to your clipboard and continue to the next step.                            How to Add Google Analytics to Squarespace.

Step 2: Connect Google Analytics to Squarespace

Now that you have a Google Analytics account and copied the Google Analytics tracking ID number, it’s time to add this information to your Squarespace website.

To connect your Google Analytics account to your Squarespace website:

  1. Sign in to your Squarespace account and open your website editor.
  2. Click “Settings” then click “Advanced.”                                 How to Add Google Analytics to Squarespace.
  3. Click “External API Keys.”
  4. Paste the Google Analytics tracking ID that you previously copied into the box labeled “Google Analytics account number.”                         How to Add Google Analytics to Squarespace.
  5. Click “Save” to continue.

Congratulations! You’ve connected your Google Analytics account to your Squarespace website. Remember, you may have to wait 24 to 48 hours for the data to start showing up in your Google Analytics account.

Step 3: Confirm the Connection from Google Analytics to Squarespace

Finally, you should make sure that you connected your Google Analytics account to your Squarespace website correctly.

To confirm the connection:

  1. Open your Squarespace website editor.
  2. In a new tab, go to the Google Analytics website and log into your account.                           How to Add Google Analytics to Squarespace.
  3. Click on the “Realtime” option in the menu on the left.                                  How to Add Google Analytics to Squarespace.

Because you are currently visiting your Squarespace website in another tab, a minimum number of “1” should appear under “Right now.” 

Google Analytics mentions that traffic may take up to 24 hours to appear in the Google Analytics dashboard. If your website still doesn’t show any traffic after 24 hours, repeat the steps in this article to ensure you were successful in adding Google Analytics to Squarespace.

Final Thoughts

Now that you can track the traffic to your Squarespace website with Google Analytics, you can work to increase that traffic by following the advice in these related articles:

What Does a Good Website Need?
How People Find Your Website: SEO 101
How to Improve SEO
Small Business Marketing Strategies

Additional Resources