Skip to main content
Tracking functions send information about the current visitor to Aimtell: who they are, what they did, and what you know about them. That data is what you later build segments from and target campaigns against. All three share the same _at.track(type, params) signature, where type is alias, event or attribute. You can call these at any point on the page. Calls made before the Aimtell script finishes loading are queued and processed once it’s ready, and calls made before the visitor has granted push permission are held and sent after they subscribe, so nothing is lost by tracking early.

Alias Tracking

Associates an alias against the push subscriber for simplified server-side tracking.
Description: Associates an alias against the push subscriber for simplified server-side tracking You may pass the user field and/or the email field. All emails are automatically hashed.

Example


Event Tracking

Tracks an event against the current subscriber.
Description: Tracks an event against the current subscriber category & action are required. label and value are optional.

Example


Attribute Tracking

Tracks custom attribute(s) against the subscriber.
Description: Tracks custom attribute(s) against the subscriber

Example