Email Ads And The User ID Macro

Read Time: 5 minutes

Serving email ads with AdButler is almost exactly the same as any other ad serving we do. There are banners, campaigns, channels, assignments, and almost all of the other great features you’d expect. We even have the same zone tag button. Only when you hit it, you see something a bit different.

The Email User ID Macro. Which we need your help generating, even if you don’t know what it is.

To get it out of the way: The Email User ID Macro is a macro provided by your email service that generates a unique string for every email sent. We use the string as an unique identifier for each email banner, letting us properly record statistics.

If this is your first time serving email banners, or if you haven’t done it in a while, you might not realize you need a User ID Macro. And that’s okay. Even if you know what it is and where to put it, it might be a mystery why you need it. Can’t AdButler tell each banner is unique by itself, anyways?

Well, we wish it could. But it’s a drawback (or feature) of how email works. There are three distinct limitations when comparing email ad serving to normal ad serving: you can’t run scripts, you can only serve image banners, and you can’t tell who’s looking at the email. Let’s go over these.

To get around not being able to run scripts, AdButler uses only pure HTML and CSS to serve banners. And to get around only serving images, well, you can only serve image banners. No iframes, no inline Javascript. Only images. Pretty simple solutions.

The third limitation is where the Email User ID Macro comes in. When a banner is served, ad servers usually look at the requestor to get all the unique information that identifies that person: where they are, what time it is, if they’ve clicked, etc. We still get that information with an email banner, but with one key difference: no scripts. Because there aren’t any scripts, we suddenly can’t tie any clicks and impressions together. Even worse, we can’t tie clicks with their destinations, so if someone clicks on the banner it won’t go where it’s suppose to. In other words, although we’re serving both an image and a link, we have no way of knowing they’re being served together.

The User ID Macro is our solution. Suddenly we can tell if someone clicks a banner or not, and where to send them. It also allows us to serve different banners from the same zone – two non-trivial things. The macro also serves as a cache buster for larger services, like Gmail. If we didn’t have it Google would try and serve one copy of the banner to everyone it was sent to, making it impossible to identify unique clicks. By adding in the User ID Macro, Google recognizes each banner as being unique and gives each email a personal copy as opposed to a generic one. The Email User ID Macro is incredibly important, and our entire email banner system revolves around it. We’re saved by it.

So that’s the ‘why’ of it, but where’s the ‘what’? An Email User ID Macro is something your email marketing service, like MailChimp, can provide. It uses your service’s macros and information to generate some ID that is unique to that very email. Generally, it is something that can never repeat, such as that email’s identifier mixed with the identifier for who it’s being sent to (in MailChimp, that’s *|CAMPAIGN_UID|**|UNIQID|*). The important aspect of the User ID is that it can’t be manually set. You have to use a macro, because your email provider has to be able to generate it on the fly for all 1,000 or 10,000, however many emails you send out.

The Email User ID Macro is the backbone to our email system. Without it, we would be stuck. If you’re not sure how to generate it, try contacting your provider. They should be able to help you out. Or contact our great support. They’re always there for you!

 

Liam Workman


Liam is an account manager and blog king at SparkLit, the SaaS company behind AdButler and FourEyes. He loves rock climbing, hiking, coding, and being your friend.