Re: Help needed with dynamic tokens and triggers

Anonymous
Not applicable

Help needed with dynamic tokens and triggers

I'm finding that if I have a dynamic link token (used in this situation to go to a personalized landing page), that I'm unable to get the Marketo code on the link (the mkt_tok=xxxxxx part) to identify the click. This click is the trigger for another series of actions, so I need to make sure the dynamic link token is tagged with the Marketo code. How do I do this?



Tags (1)
6 REPLIES 6
Amy_Lepre
Level 7

Re: Help needed with dynamic tokens and triggers

Can you post an example of the link you are trying to create that won't let you append the mkt_tok portion?
Anonymous
Not applicable

Re: Help needed with dynamic tokens and triggers

Sure! Thanks!
What we have to do is use {{company.Site}} as the dynamic token, as that's where the fields were originally created in our database.

"Company" is the tab, and "Site" is the dynamic URL. The URL looks something like http://www.example.com/?utm_campaign=B2B-Example&utm_medium=Email&utm_source=Marketo-URL-1395, where the source is what brings in the personalized content -- like, I have a name associated with utm_source=Marketo-URL-1395.
Anonymous
Not applicable

Re: Help needed with dynamic tokens and triggers

So I think I need to add the opposite of link class="mktNoTrack" as per this thread on the forum: https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PGfkAAG, but I'm not sure how to do that or what the link class is that I would use.
Amy_Lepre
Level 7

Re: Help needed with dynamic tokens and triggers

Okay so a couple of things...

There is no opposite of the link class "mktNoTrack" - when you don't put it on the link, the full URL shows. 🙂

I'm assuming you mean you want to track this is Google Analytics since you are using the utm_ parameters on your URL. Is that correct? You should be able to track this in Marketo inherently as long as they are going to a Marketo landing page or a page that has the Marketo tracking code on it. There is no need to add the Marketo code manually.
Anonymous
Not applicable

Re: Help needed with dynamic tokens and triggers

Thank you so much for your continued help!!

Unfortunately what's happening is that when we add in the token, the Marketo code isn't being generated (aka the "full URL") I'm simply seeing http://www.example.com/?utm_campaign=B2B-Example&utm_medium=Email&utm_source=Marketo-URL-1395 where I should be seeing something like http://example.com/trk?t=2&mid=MDU3LVRBSS0zODc6MDoxMYc0OjY2NjoxOjE3OTo3OjczNy0xOm51bGw%3D&&&http://www.example.com/?utm_campaign=B2B-Example&utm_medium=Email&utm_source=Marketo-URL-1395?mkt_tok=3RkMMJWWfF9wsRlnuqvNZKXonjHpfsX%2F6Os7BPbv3sYw3mx7dMXOZRC40ZVcCZwxbeKPDys0TsA0l0FsO8nYL9gX

I'm actually using the utm_parameters for both GA and the personalization piece of this. The tracked URL is in the database associated with the person -- if I don't have the source added, then they'd just get a default page. 
Anonymous
Not applicable

Re: Help needed with dynamic tokens and triggers

Hi Dan,
 
Hopefully I am understanding you correctly. Right now, you have the token, {{company.Site}}, contain the following URL -
http://www.example.com/?utm_campaign=B2B-Example&utm_medium=Email&utm_source=Marketo-URL-1395

You enter the token in an email, and expect it to add the tracking URL to it, correct? If so, what you need to do is actually break the URL inside the token to two parts. So here is what you will do:
  1. Change the value of the field company - Site to only have - www.example.com/?utm_campaign=B2B-Example&utm_medium=Email&utm_source=Marketo-URL-1395 (basically remove the http://).
  2. In your email that you are designing, insert a hyperlink
  3. The hyperlink that you will put in is: http://{{company.Site}}
Let me know if this is not clear, or if I am misunderstanding what you are looking to do!