Get Available Site-Tracking Macros With API

Vaida
Vaida
  • Updated

A macro is a placeholder that can be replaced with specific data depending on the context during the execution of the code. For a macro to be replaced, you must define it. You can add site-tracking macros to tracking codes to help pass information collected from Adform tracking points to third-party scripts. For example, use a macro for order ID to share conversion information with the third-party pixels implemented in Adform container tags.

With the Macros Definitions section of the Tracking Variables API, you can see the range of macros that Adform provides for site tracking.

To retrieve a list of defined macros for your campaign's site tracking setup, you need the tracking setup ID of the campaign to use in your requests.

Note

For more information, see Overview of Supported Site-Tracking Macros.

Prerequisites

To start working with Tracking Variables API, you need:

Note

If you don't have an OAuth client yet, follow the procedure in Get Authentication Credentials for Adform APIs to register one.

List of API Operations

[{"api":"Tracking Variables","titles":"Macros definitions"}]

Was this article helpful?

/
How we can make it better?

Thank you for your feedback!