Tag integration V2
Live Targeting API (new API)
Should you want to use our API for user data and/or contextual with Prebid, please consider using our official Prebid Real Time Data Submodule
Add this tag to you header or directly to the ad placement where you would like to access user segments cookies & consent based user-centric segments, cookieless and/or contextual categories.
THIS TAG WILL NOT DROP OR ACCESS TO ANY COOKIE. PRIVACY CHECKS WILL BE PERFORMED BY SIRDATA, AND THE CALL MAY BE REDIRECTED TO OUR COOKIE-BASED API WHEN RELEVANT.
In UE, the UK, Iceland, Liechtenstein and Norway, unless specifically and by written authorized not to, do call this tag ONLY on websites working with a TCF compliant CMP.
The tag will automatically perform relevant checks, but you can perform these tests on your own and earn precious milliseconds : call the tag when a valid consent CHOICE for Purposes 1 & 3 and Vendor IDs 53 (cookie-based) and/or 916 (cookieless) has been made by the user, with the mandatory gdpr=[gdpr_applies]&gdpr_consent=[tc_string] parameters in the URL.
Use this script to get user-centric segments and contextual categories and use them in the callback function :
gdpr and gdpr_consent are collected automatically, but you can earn precious milliseconds by sending them directly on the relevant endpoint like that :
Parameter
Value
[PARTNER_ID]
numerical value - is given by your contact at Sirdata during the API Access process (e.g. sddanPid in the example above) (mandatory)
[KEY_ID]
numerical value - is given by your contact at Sirdata during the API Access process (e.g. sddanKeyId in the example above) (mandatory)
gdpr
TCF V2 gdpr_applies parameter (mandatory for EEA/UK users)
gdpr_consent
TCF V2 TC String (mandatory for EEA/UK users)
callback
callback function name can be change (mandatory)
PLEASE REMBER TO HAVE YOUR DOMAIN(S) WHITELISTED WHEN REQUESTED PRODUCTION PARTNER ID AND KEY ID, OTHERWIZE THE TAG WILL GET NOW ANSWER
Whenever you want to work accordingly to the SDA specification, please refer to the official segtax ID taxonomies.
Last updated