Re: Tokens for standard tracking codes

Mark_Westerman
Level 2

Tokens for standard tracking codes

Hi

We are just staring to use Adobe Analytics and we want to setup some standard tokens for different link types. The idea would be to then append these to the end of the different urls within our emails. The only variables are the name of the email and the url the rest of the values are hard coded for the type of link. We will use a naming convention for the email to give us  other information e.g. Email1_Topic_Campaign.

First question is there a standard Marketo token for "Name of email"?

Secondly I am thinking that it might be possible to create tokens using velocity scripts for each of the different types which include the hard coded values and the name of the email.

These are some examples of the different links (the url wouldn't be part of the token that would just be in the email itself)

Banner click through

eDM_URL?cid=own|edm|mar|bnd|na|bnr|na|Name_of_Email|na|na|na|na|na

Text click through

eDM_URL?cid=own|edm|mar|bnd|na|txtlnk|na|Name_of_Email|na|na|na|na|na

Button click through

eDM_URL?cid=own|edm|mar|bnd|na|btn|na|Name_of_Email|na|na|na|na|na

Any help would be appreciated

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: Tokens for standard tracking codes

First question is there a standard Marketo token for "Name of email"?

No, only Campaign Name and Email ID.

Note the asset name of the Email can change at any time, and multiple assets can use the same name. So it's not a, shall we say, longitudinally unique identifier. (The same is also true of Campaigns, but in any case, those names aren't designed for long-term reporting.)

Mark_Westerman
Level 2

Re: Tokens for standard tracking codes

Thanks Sanford, I understand that a naming convention has its weaknesses but it would have been an efficient way of handling this problem. Campaign Name could work but then limits the types of flow actions I can use eg would need a different campaign for each email we send. Also would need a different solution for nurture campaigns.

SanfordWhiteman
Level 10 - Community Moderator

Re: Tokens for standard tracking codes

Secondly I am thinking that it might be possible to create tokens using velocity scripts for each of the different types which include the hard coded values and the name of the email.

If you use a token to denote the name of an email or find a name in a custom asset ID ↔ asset name mapping table that you maintain, yes. But Velocity doesn't give you any direct visibility into the asset name.

Mark_Westerman
Level 2

Re: Tokens for standard tracking codes

I suppose I could use a asset name look up but having to manually maintain a list of names that is already in Marketo is pretty annoying.

Thanks, I might have to rethink this