Skip to main content
Tracking Setup
Updated over a month ago

To collect web tracking activity related to website visits, you’ll need to implement the Sona SDK. The Sona SDK captures data as users browse pages on your site. To ensure maximum attribution coverage, it is recommended to install the Sona SDK directly on your website. In some cases, ad blockers can prevent tag managers and their accompanying scripts from loading, resulting in potential data loss. As an alternative, you can install the Sona SDK with Google Tag Manager.

Sona SDK Setup

  1. Decide whether the Sona SDK should capture form data or not, then click Yes or No.

  2. If you want the maximum account identification and tracking accuracy, then you should follow the instructions for setting up a Custom Tracking Domain (CNAME).

  3. Add the Sona SDK directly to your website or through Google Tag Manager.

Note: This quick setup is designed to activate your data so you can start to enable Sona’s account identification and attribution capabilities. For greater flexibility in passing user identifiers and configuring custom conversion events, please see our article related to setting up the Sona SDK directly on the page.

Click Next to proceed to Sona Growth Platform.

Installing the Script on HubSpot CRM (Website Pages)

  1. Log in to your HubSpot account.

  2. Open the website where you want the script to be added.

  3. Then, click on the settings located in the top right.

  4. Click Advanced then paste the Sona tracking script in the Head HTML field.

  5. Save your changes and publish your pages.

Installing the Script on Salesforce (Experience Builder or Visualforce)

  1. Log in to your Salesforce account.

  2. For Experience Builder:

    • Open your site and go to Settings > Advanced.

    • Paste your Sona tracking script into the Head Markup section.

    • Save your changes.

  3. For Visualforce pages:

    • Edit the Visualforce page and include the script inside the <head> section.

    • Save and activate your changes.

Installing the Script on Webflow

  1. Go to your Webflow dashboard.

  2. Hover over the site where you want to add the script and click Site Settings.

  3. Click Custom Code to open the site-wide custom code editor.


  4. Find the Head Code section.

  5. Paste the tracking script into the Head Code field and click Save.

  6. Publish the site to apply the changes.


Installing the Script on Zoho Sites

  1. Log in to your Zoho Sites account.

  2. Open your website's editor.

  3. Go to Settings > Head Code.

  4. Click Header Code and paste the Sona tracking script.

  5. Save and publish your site.

Installing the Script on Shopify

  1. Log in to your Shopify admin dashboard.

  2. Go to Online Store > Themes.

  3. Click Actions or the 3 dotted button > Edit Code for your active theme.

  4. In the sidebar, open the theme.liquid file.

  5. Paste your Sona tracking script right before the </head> tag.

  6. Save your changes.

Installing the Script on Wix (Business Plan Required)

  1. Log in to your Wix account and go to your dashboard.

  2. Hover over the site where you want to add the tracking script and Select that website or click it.

  3. In the left-hand menu, click Settings, then select Custom Code under Development and Integrations.

  4. Click Custom Code.

  5. Paste your Sona tracking script into the provided code box.

  6. Under Add Code to Pages, select All Pages to apply the script to your entire site (if this option appears).

  7. Choose Place Code in Header to load the script as soon as the page opens.

  8. Give the script a label (e.g., "Sona Tracking Script") and click Apply or Save to confirm the changes.

  9. Return to the dashboard and click Publish to make the changes live.

Installing the Script on Squarespace

  1. Log in to your Squarespace account and select your website.

  2. In the left sidebar, click Pages.

  3. Then click Website Tools under Utilities.

  4. Select Code Injection.

  5. Then paste the tracking script on the header text box.

  6. Then save.

Installing the Script on GoDaddy Website Builder

  1. Log in to your GoDaddy account.

  2. Open your website in the editor.

  3. Go to Settings > Site Settings > Site-wide Code.

  4. Paste your Sona tracking script into the Header section.

  5. Save your changes and publish your site.

Installing the Script on Duda

  1. Log in to your Duda account and select your website.

  2. Go to SEO & Settings located in the left sidebar.

  3. Click HEAD HTML and paste code in the Head HTML text box.

  4. Save and publish your site.

Installing the Script on Carrd

  1. Log in to your Carrd account and open your site.

  2. Go to Settings > Code.

  3. Paste your Sona tracking script into the Head section.

  4. Save your changes and publish your site.

Related Pages

Did this answer your question?