Install JavaScript in Website
We recommend manually installing the Sona SDK by copying the tracking script, then pasting it within the `` tags of your site’s HTML code. This requires that you have the ability to edit your site's HTML. If not, you'll have to ask your web developer to install the script on different pages of your site.
Install Sona Tracking Script for Documentation through Google Tag Manager
In this guide, you'll learn how to easily integrate the Sona tracking script into your documentation using Google Tag Manager (GTM) for seamless deployment and management. GTM allows you to add and update the Sona tracking script without modifying your site’s code, providing a more flexible and efficient implementation. With this setup, you can enable key Sona features, track engagement, and enhance your documentation experience effortlessly.
Tracking Setup
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.