Squarespace: install a container (with a tracking code)

If you’ve built your site on Squarespace, you can quickly add our container (with a tracking code) and start collecting visitors’ data. In this article, we’ll show you how to do it.

Add a site in Piwik PRO

To add a site in Piwik PRO, follow these steps:

  1. Go to Menu > Administration.
  2. Navigate to Sites & apps.
  3. Click Add a site or app.
  4. Type the site name and site address, and click Save.
    Add a site in Piwik PRO

    Note: If you want to collect data from a few domains with the same tracking code, add their addresses.

  5. Set the time zone and currency.
    Timezone and currency in Piwik PRO

    Note: We’ll show data in reports in this time zone. We’ll use this currency for goal revenue.

  6. Navigate to Installation.
  7. Copy the code from Basic container (async).
    Copy code for Piwik PRO installation

Install a container on Squarespace

Note: To add a custom code to a site, you need one of the following Squarespace plans: Business, Commerce Basic or Commerce Advanced.

To install the Piwik PRO container on Squarespace, follow these steps:

  1. Log in to Squarespace.
  2. Choose the site to which you want to add our container.
  3. On the left, click Settings.
    Settings in Squarespace
  4. Navigate to Advanced > Code injection.
    Code injection on Squarespace

    Note: This option is only available in the following plans: Business, Commerce Basic or Commerce Advanced.

  5. In the Footer section, paste the Piwik PRO’s container code.
    Inject code on Squarespace
  6. Click Save.
  7. Done! Data will appear in reports in about an hour. Data in the tracker debugger will appear instantly.

    Tip: You can also check manually if the tracking works. Read more

Tip: To change how your data is collected, you can use the following settings:

Was this article helpful?

Technical support

If you still have some questions, visit our community.
There’s always someone ready to help!

Back to help center