Google Analytics is an indispensable tool that can give you valuable insight into your website visitors and content performance. This powerful tool can show which platforms are driving traffic to your site and more.
To begin with Google Analytics on Squarespace, you need a Google Analytics account with an active Tracking ID (UA-xxxx-yy). Copy and paste this code below into your Squarespace website to begin measuring success.
Log into your Google Analytics account
Before making changes to your Squarespace website, it’s essential that you log into Google Analytics and locate your tracking code. This code informs Squarespace where visitors are coming from and which pages they visit; find it under Tracking Info in Admin section by looking for text box labeled “UA-ID,” enter ID in it.
As soon as you have your tracking code, the next step should be simple. Make sure your GA account is linked with both UA and GA4. For GA4 properties, manually connect them using Connected Site Tags for optimal performance.
Launch Google Analytics debugging tool in your browser to view any errors that might be hindering your GA code from working correctly. A Chrome debugging plugin such as Analytics Debugger may also assist in troubleshooting GA code issues.
Go to Admin
If you use Google Ads on your website, tracking how many purchases come through their ads may help you determine the return on investment of your advertising efforts and refine your marketing strategy. To do this, create a conversion in Google Analytics; click Tools > Conversions then “Website” as the type of conversion and enter sales figures under “Event value” before hitting Save button.
Google will no longer support GA4 after July 2023 and once you’ve obtained your GA5 measurement ID, head back over to Squarespace and paste it in the GA Account Number field.
Click on Tracking Info
Google Analytics requires integrating their tracking code onto your website, which is an easy process that only requires basic coding knowledge. Tracking codes may be added via different platforms or CMSs – for instance some have built-in integration while others require manual editing of HTML code coding.
Once you have your Google Analytics tracking code installed, the next step should be ensuring it’s functioning as intended. To do this, log into your Google Analytics account and navigate to the Admin tab before selecting Tracking Info in Property > Tracking Info column of Property column and clicking Receiving Data/Tracking Not Installed status if applicable; otherwise troubleshoot as needed.
Note that it can take up to 24 hours for your site’s statistics to appear in Google Analytics. If you haven’t already, setting up event tracking on your website will enable you to see how visitors interact with it and identify areas for improvement – you can learn more by visiting Google’s Help Center.
Click on Tracking Code
Google Analytics is an invaluable tool that can help you better understand how visitors engage with your website, from high-level dashboard reports to in-depth user behavior analyses and a wealth of helpful data that will allow you to enhance the visitor experience and increase conversions.
Reminder that Google Analytics isn’t perfect – issues may arise with data or tracking code issues that lead to discrepancies in reporting. Therefore, it is advisable to regularly inspect your Google Analytics data for discrepancies.
Log into your Google Analytics account, click on the Admin gear icon, and click Tracking Info to display the unique Property ID that has been assigned to your website. Alternatively, this information can also be obtained by going into Property Setup in Google Analytics and looking at Connected Property settings to locate this PID number.
Squarespace currently supports both Universal Analytics (UA) and GA4 properties; however, we highly suggest switching over to GA4 before July 1, 2023, as UA will no longer support new traffic after that date.
Copy the code
Squarespace integrates seamlessly with Google Analytics, making adding your tracking code an effortless process. To get started, all that’s necessary to add tracking code is knowing your website’s Google Analytics Account ID which can be found within the Admin section of your account and copy and pasting into Squarespace.
When adding tracking code to Squarespace, ensure it contains both a GA4 measurement ID and Universal Analytics property ID for accurate setup. This ensures the tracking code will load into its proper place.
Once the code has been implemented in your Squarespace site, it may take up to 48 hours for its data to appear in Google Analytics. You can verify the functionality of your code by going into your Google Analytics dashboard and clicking “Real Time.” If there’s any indication that data may not be showing up correctly for you despite these measures, contact us right away so we can provide assistance.
Go to Squarespace
Google Analytics makes it simple and affordable to track link clicks from Squarespace sites with ease, perfect for affiliate websites or those simply wanting a simple solution for tracking internal and external clicks. An installation in 2 minutes & one-on-one support are both included!
Google Analytics is the ultimate website analytics tool – allowing you to track page visits in real-time and access demographic data with ease. Though some may resist adding Google Analytics to their websites, adding it actually becomes simple once you know how.
Google Analytics tracking code can be embedded directly into a website using either a third-party plugin or directly embedded code, depending on your preference. In this guide, we’ll be using the latter option.
To start tracking, login to your Squarespace dashboard and open the website you want to track. From there, click Settings in the left sidebar before moving on to Advanced > Code Injection where you can enter your UA code into the textbox and save. Please allow 24 hours for Google Analytics statistics to start showing. If nothing shows up after that period has elapsed if there was any miscommunication during installation – use Google Analytics Debugger if there are issues with your code installation!
Paste the code
Once you have your inline code ready, the next step is adding it to your Squarespace website. To do this, create an empty section where the form should appear, and paste in its code using CTRL + V (Windows) or COMMAND + V (Mac).
After you are finished making changes and saving them, click Apply and save them before refreshing your page – your form should now appear! To gain further knowledge about embedding forms with Squarespace, check out this video tutorial by Flodesk member Cinnamon Wolfe.
Custom code can be an indispensable resource to help you customize and enhance your Squarespace website, adding unique features. Before adding code to your website, however, it’s crucial that you understand how Squarespace handles custom coding.
Squarespace provides an easy and simple way to integrate third-party applications and embed content, without needing to know any code. But adding custom code may cause issues on your site and may no longer work when Squarespace updates their services in the future – to avoid this situation we recommend working with a developer or using templates which already include code blocks.