Deploy Tracking Snippet

Next we’ll need to implement the Freshpaint code snippet on your 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.


Did this page help you?