Precision Tracking
Use Precision Tracking to track events with code.
Last updated
Was this helpful?
Use Precision Tracking to track events with code.
Last updated
Was this helpful?
Precision Tracking is provided by the Freshpaint SDK web source and allows you to manually track your events with code. This is in contrast to , which automatically collects certain events. If you want to maintain your event tracking in code or want to make sure you know exactly when an event will be fired, the precision tracking source is for you.
To create a precision tracked event, you call the track
method provided by the Freshpaint SDK. As an example, the following bit of code sends a login
event with the username
property attached:
See the Freshpaint SDK references for more information on tracking events directly with code:
There are some good practices to follow when naming your precision tracking events. Read for more information on how your developers should name your precision tracking events.
By default, Precision Tracking Events will go to all of your active app destinations. You may not want this behavior if you are limited in the number of events you can send to a particular destination or if you would like to reduce clutter in a destination. If you world like this behavior turned off for future events, please contact Support at support@freshpaint.io to have this default behavior turned off.
For current events, you can turn this behavior off by going to the event definition in the event library, clicking the "settings" icon, and turning on the "Override hardcoded destinations" toggle:
If you have a large number of events you'd like to turn this behavior off for, please contact support@freshpaint.io.
Enabling 'override hardcoded destination' in the UI is not compatible with events sent from the .