Freshpaint
Search…
⌃K
Links

Installing the Freshpaint Javascript SDK

Installing the Freshpaint Javascript SDK to the production website has to be done by an engineer. It usually takes about five minutes to install. For deploying to production you should invite a technical teammate to your account and have them install Freshpaint. Once installed (either locally or on production), a non-technical user can use the autotrack source to control and manage data without assistance from a technical user.
To install Freshpaint, go to the sources page in Freshpaint:
From the sources page click on configure next to the Autotrack source. This will pull up the code for the Freshpaint SDK:
Copy the snippet into the <head> of your site. That's it!
If your application uses Next.js, you will need to add an id attribute to the script tag of the Autotrack snippet, such as <script type="text/javascript" id="freshpaint-script">.

Verifying the Installation

To verify that Freshpaint is installed correctly, navigate to the Freshpaint Live View. The liveview will now provide a live feed of every user action performed on your site. If you navigate to your site in another tab and click around, you should see the actions you're performing show up in the liveview:
Once you see data coming through, you have successfully installed Freshpaint.

User Identification

Once you have confirmed that Freshpaint is successfully installed, you should identify your users. This is how you send information to Freshpaint and your destinations about who your users are.