ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Trade Desk: Meiro Events with The Trade Desk on the website

The Trade Desk is a platform for programmatic buying ads. The Trade Desk offers technology to manage display, social, mobile, and video advertising campaigns. 

For clients who already have The Trade Desk's tracking pixel installed on their website, it is possible to integrate The Trade Desk into Meiro CDP by allowing Meiro Events to collect The Trade Desk user ID. This means that segments built within Meiro CDP can then be exported to The Trade Desk’s custom audience for precise targeting.

This process of enriching meiro_user_id with The Trade Desk ID is called Cookie Syncing.

Learn more: To learn more about Cookie Syncing please refer to this article.

To deploy Meiro Events with The Trade Desk on the website, please insert code within the page. The following script needs to be included in the website’s head (after <title> HTML tag). 

Warning: This script needs to be placed on EVERY page on your website, it needs to always be present on the web.

<script type="text/javascript">
 (function () {
   var config = {
   the_trade_desk: {
     pid: "r6frfy6",
     gdpr: 1/0 number (optional),
     gdpr_consent: "base64url-encoded GDPR consent string, meaningful when 'gdpr' is set to 1 (optional)"
 var script = document.createElement("script");
 script.onload = function() {
 script.src = "//sdk." + domain_set_by_Meiro_team;
 script.async = true;

Remember: The domain and PID will be set up by Meiro team and provided to the client