Tracking and Consent API Overview
The Tracking & Consent API provides functions for each step in the page view tracking process, giving you unparalleled control over how Account Engagement tracks page views. Use the API to implement your own solutions that cover your compliance needs and use cases.
To use the API:
-
Retrieve the JavaScript file. The file includes the functions available in the Tracking and Consent JavaScript API.
-
Initialize a queue. The queue makes sure that commands are executed sequentially.
-
Configure the Tracker Data object. The object lets you set parameters for the activity and pass information between commands.
-
Execute custom tracking logic. Execute your logic using the Tracking and Consent API functions.
See Getting Started with the Tracking and Consent JavaScript API.