Skip to main content
Skip table of contents

Implementing Pixels

There are a few key concepts related to the implementation of DSP Pixels. Let’s have a look:

How to Implement?

Pixels can be implemented directly into the HTML of the webpage by placing the pixel code exactly as it was provisioned between the <body> and </body> tags. However, if the site is using container tags (i.e. DART Floodlight or Atlas UAT) or Tag Management Platforms (i.e. Signal or Google Tag Manager), then pixels should be implemented into their respective receptacles. Containers and Tag Management Platforms typically utilize templates that facilitate the specific needs of a campaign.

Refer to the Common Implementation Methods section below for more information.

Where to Implement?

In order to facilitate the correct setup, pixels should only be placed once (1x) on the pages they were designed to be placed on. For instance, a coupon download pixel should only be placed once on the coupon download page, a home page pixel should be placed once on the home page, and a landing page pixel should be placed once on the landing page. Most importantly, the conversion pixel should only be placed once (1x) on the intended user conversion action and nowhere else. 

How to Load?

Pixels need to be loaded either securely or non-securely.

Secure pixels should be used on all HTTPS pages and nonsecure pixels should be used on HTTP pages. The main difference is that secure pixels go through an extra step of encoding information so the message being sent is only readable by the sender and intended reader of the message. Nonsecure pages can support both secure and nonsecure pixels, but secure pages can only use secure pixels.

For optimal load time, we recommend that secure pixels only be used on secure pages. Zeta DSP JavaScript pixels are protocol agnostic, meaning they adjust based on the protocol of the page it is implemented on, but Image pixels will need an explicit HTTP or HTTPS declaration.

Cache Busting

Read more

Common Implementation Methods

It is important that pixels are set up correctly in order to ensure that DSP is accurately receiving data in order to optimize the campaign. The correct setup ensures that every user that loads the page will fire the DSP pixel. We recommend against using frequency capping or conditional firing rules as they may provide an incomplete understanding of your audience.

DoubleClick Floodlight

Default cachebuster macro: %n 

  • Setup as a Default Pixel under Dynamic Tags.

    • Do not place the DSP pixel as a Publisher tag unless instructed. Placing the DSP pixel as a Publisher tag would cause the pixel to conditionally fire on an Attributed Conversion, which gives us an incomplete view of an audience.

  • Ensure Floodlight is implemented in HTML as an iFrame or global site Floodlight, not an image Floodlight.

    • Image Floodlights do not support piggybacking.

Refer to Third-Party Tracking with Dynamic Tags for more information.

  • Ensure the correct Floodlight is being modified. Every Floodlight can be uniquely identified by its Category ID, which is visible in the Floodlight URL as cat=

Google Tag Manager

Default cache buster macro: {{Random Number}} 

Depending on whether the GTM account is V1 or V2, use the chart below to confirm that the {{Random Number}} cache bust macro is set up correctly.

Google Tag Manager Version

Access URL

To Enable {{Random Number}}

V1

google.com/tagmanager

Create a new user-defined variable (macro) of type Random Number.

V2

tagmanager.google.com

Activate the Random Number Built-in Variable.

  • The Zeta DSP Pixel should be set up as a Custom HTML Tag within GTM with support document.write checked on.

  • Ensure firing rules (called Triggers) are correctly set up. If incorrectly set up, this can lead to unexpected conditional firing.

  • Confirm most recent changes have been published to the live container.

Sizmek

Default cache buster macro: [%Random%] 

  • Sizmek has many settings that may conditionally fire pixels (deduplication, last entry in the path, etc). Please ensure all these settings are disabled.

Direct to HTML

Default cache buster macro: None 

  • The default cache buster macro is unique to each Advertiser.

  • Our pixels should go between the <body> and </body> tags.

  • Please work with your web developer to ensure pixels are implemented with best practices and guidelines in mind.

JavaScript vs Image Functionality

Functionality

JavsScript

Image

Page Load Performance

The Zeta DSP pixel and piggybacked pixels load asynchronously, in a non-blocking manner.

The Zeta DSP image and piggybacked pixels load asynchronously, in a blocking manner.

Cooke Matching

Higher match rate because cookie matching piggybacks load asynchronously resulting in more partner calls being completed.

Lower match rate because cookie matching piggybacks load synchronously so one partner call must complete before the next can begin.

Protocol

Protocol agnostic based on the page on which it fires. Zeta DSP takes care of the secure (https) or non-secure (HTTP) automatically.

The client is responsible for properly declaring either secure (https) or non-secure (http).

Timeout

Global timeout of 15 seconds.


Cookie Matching

In order to buy inventory efficiently and programmatically, the Zeta DSP utilizes pixels from our exchange partners to match their user IDs with our internal user IDs. With this cookie matching strategy, we are able to have more insight into the user's actions and determine which user is more likely to convert. This is standard programmatic practice and an effective strategy that we have always had in place. 

With that being said, we do have the ability to turn off these piggybacked pixels. However, the disabling of cookie matching would negatively impact campaign performance. Below is the current list of cookie match partners:

Partner Name

HTML Syntax

Google Adx

<img src="https://cm.g.doubleclick.net/pixel?&in=0&google_nid=zeta_interactive&google_cm=&google_sc=&google_hm={base64userid}&forward=" width="1" height="1" />

AppNexus

<img style="display:none" src="https://ib.adnxs.com/setuid?entity=18&code={userid}" width="1" height="1">

Bluekai

<img src="https://stags.bluekai.com/site/4722?id={userid}&redir=https%3A%2F%2Fp.rfihub.com%2Fcm%3Fbk_uuid%3D%24_BK_UUID%26forward%3D" width="1" height="1">

Yahoo Ad Exchange (Right Media)

<img src="https://ads.yahoo.com/cms/v1?esig=1~84c296ca4cae9f73fbcc48363a3cd4cd34be98f5&nwid=10000648372&sigv=1" width="1" height="1" />

Rubicon Project

<img src="https://pixel.rubiconproject.com/tap.php?v=13490&nid=2596&put={userid}&expires=30&next=" width="1" height="1">

Index Exchange

<img src="https://dsum-sec.casalemedia.com/rum?cm_dsp_id=57&external_user_id={userid}&forward=" width="1" height="1" />

SpotX

<img src="https://sync.search.spotxchange.com/partner?adv_id=7180&uid={userid}&img=1" width="1" height="1">

AdobeDMP

<img src="https://dpm.demdex.net/ibs:dpid=1121&dpuuid={userid}&redir=" border="0" width="1" height="1" />

BidSwitch

<img src="https://x.bidswitch.net/sync?dsp_id=119&user_id={userid}&expires=30" width="1" height="1" />

Liveramp

<img src="https://idsync.rlcdn.com/360947.gif?partner_uid={userid}" border="0" width="1" height="1" />

Nielsen

<img src="https://secure-uat2.imrworldwide.com/cgi-bin/m?ci=ENT21380&am=3&ep=1&at=view&rt=banner&st=image&ca=cmp227470&cr=crv989156&pc=plc19691473&c67=vndrid,000{userid}&r={timestamp}" width="1" height="1" />

Krux

<img src="https://beacon.krxd.net/usermatch.gif?partner_id=rfuel&partner_user_id={userid}" border="0" width="1" height="1" />

TubeMogul

<img src="https://sync-tm.everesttech.net/upi/pid/Mlpt2JaG/?redir=https%3A%2F%2Fp.rfihub.com%2Fcm%3Fin%3D1%26pub%3D21653%26userid%3D%24%7BTM_USER_ID%7D" width="1" height="1">

Sizmek Ad Server

<img src="https://bs.serving-sys.com/serving?cn=um&dpid=12&rtu=https%3A%2F%2Fp.rfihub.com%2Fcm%3Fin%3D1%26pub%3D17945%26userid%3D%5B%25tp_UserID%25%5D" width="1" height="1">

media.net

<img src="https://contextual.media.net/cksync.php?cs=3&type=rkt&ovsid={userid}" height="1" width="1" />

AggregateKnowledge

<img src="https://aa.agkn.com/adscores/g.pixel?sid=9212192898&rf={userid}" width="1" height="1">

Oath

<img src="https://pixel.advertising.com/ups/55856/sync?uid={userid}&_origin=1" height="1" width="1" style="display:none" />

DXH Zeta Data Cloud

<img src="https://live.rezync.com/pixel?c=bd8618c307ae9885a12561b7191e2cea&cid={userid}" width="1" height="1" style="display: none" />

Telaria

<img src="https://partners.tremorhub.com/sync?UIRF={userid}&r={cachebust}" height="1" width="1" border="0"/>

DXH Eyeota

<img src="https://p.rfihub.com/cm?pub=24472&in=1" width="1" height="1" />

DataLogix

<img src=" https://x.dlx.addthis.com/e/rocketfuel_sync?na_exid={userid}" border="0" width="1" height="1" />

DXH Semcasting

<img src="https://bpi.rtactivate.com/tag/?id=11017&user_id={userid}" width="1" height="1"/>

EMX Digital

<img src="https://e1.emxdgt.com/put?d=d16&uid={userid}"/>

OpenX

<img src="https://us-u.openx.net/w/1.0/sd?id=537073062&val={userid}&r=" width="1" height="1" />

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.