Edit in GitHubLog an issue

Test an email image Adbox

Dynamically test images in email, and even change those images on the fly when someone opens the email.

Redirectors can be used in emails to track clicks and dynamically control which landing page people reach.

Email image testing is achieved through using modified versions of adboxes. Because email clients do not allow cookies to be set, a unique identifier must be generated for each email. This number is appended to the adbox URL and to any redirectors used in the email to track clicks from the email.

Sample code for an email image adbox:

Copied to your clipboard
1<img src="https://{clientcode}.tt.omtrdc.net/m2/​{clientcode}/ubox/​image?
2mbox={email_header}&
3mboxDefault=​{http%3A%2F%2Fwww.domain.com%2Fheader.jpg}&
4mboxXDomain=disabled&
5mboxSession={123456}&
6mboxPC={123456}” border=:"0"/>

Where the below values are specific to you:

ValueDescription
clientcodeYour company's client code. Find this in your at.js listed as clientCode='yourclientcode'. This is all lower case and has no special characters.
imageThe offer type. It is always "image" for graphic ads and "page" for redirectors.
email_headerThe name of the adbox.
mboxDefault=http%3A%2F%2Fwww.domain.com%2Fheader.jpgRequired. Replace the URL with appropriate default content for your adbox. This must be an absolute reference and must be URL encoded.
mboxXDomain=disabledTells Target to not attempt to set a cookie.
mboxSession=123456 and mboxPC=123456Two values required by Target to merge this user's profile with the existing profile for your site. 123456 is the unique identifier generated per email. Dynamically insert this value into every adbox and redirector URL. This number must be unique for each email sent to each person. If a weekly email is sent to 1,000 people, 1,000 unique IDs need to be generated.
The unique identifier per email needs to be assigned to the mboxSession and mboxPC in each adbox and redirector URL. The recommended format for this identifier is timestamp-NNNNN where NNNNN is a random 5-digit number, but any alphanumeric format will work. Some mass e-mail services and any programming language are capable of generating this unique identifier.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.