Project metrics API
Tracking project parameters
With key:value strings in the URL (Preferred version)
Example
https://ctxtfl.com/scripts/js/m.js?id=AbCdEfGhIj1234567890&cb=%n&adv=%eadv!&sid=%esid!&pid=%epid!
Mandatory parameters
ALWAYS include the "id" key-value pair. It is the identification of the current project or campaign within Contxtful infrastructure. This string is composed of 20 alpha-numeric values and is provided by Contxtful on demand when the project or campaign is launched.
Highly recommended parameters
We strongly recommend that you add as many key:values as possible to be able to correlate the contextual data to all your preferred KPIs.
Important note
If you choose to download the data in batch daily, remember to use a key:value to connect each impression to a relevant UUID to be able to couple context with other metrics in the DMP
All optional key-value pairs.
Order is not critical
Fonction | key | Google expand macro equivalent | Note |
---|---|---|---|
Ad id | adid | %eaid! | The expand macro is different from the key |
Advertiser id | adv | %eadv! | |
Campaign id | buy | %ebuy! | |
Creative id | cid | %ecid! | |
External campaign id | excid | %eexcid! | |
External placement id | expid | %eexpid! | |
Internal key-value pair id | kid | %ekid! | |
Placement id | pid | %epid! | |
Rendering id | rv | %erv! | |
Environmental character | env | %eenv! | |
Port communication protocol | ssl | %ers! | The expand macro is different from the key. Has no impact on the URL provided in impression events |
Site ad placement id | sid | %esid! | |
Rendering id | rid | %erid! | |
Click id | iid | %eiid! | |
Site | site | %s | |
Cache buster | cb | %n |
Other method. (Deprecated version)