Deploy Tracking Snippet

Next we’ll need to implement the Freshpaint code snippet on our website or mobile application. Freshpaint’s official directions are here, but here’s the general idea:

Under collect → sources, find the ‘Autotrack’ for javascript (web) or Android/iOS, click configure, and copy the code snippet:

For a web application, we’ll want to drop this code snippet on our index.html or root (/) page generally before the closing </head> tag:

In Freshpaint, we can verify that the snippet is correctly implemented by loading Live View and then refreshing the page that we deployed the snippet on. We should see a “Viewed” event in the table:

If you click around on your site, you can see all the raw data Freshpaint is collecting automatically.

Updated 22 days ago


Deploy Tracking Snippet


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.