Litmus tracking code error

Matt_Stone2
Level 9

Re: Litmus tracking code error

I'm purely speculating -- but I'm guessing it would fire only the one time, since it's using the email as an identifier. You might check with Litmus to be sure, but if you want each email to record differently, I'd make three unique codes.

raiashutosh
Level 2

Re: Litmus tracking code error

Content edited by moderator with corrections.

Hi,

 

I tried the email script token, it seems the code only works if added just above the </body> tag, which is only possible if you email doesn't have any dynamic content.

SanfordWhiteman
Level 10 - Community Moderator

Re: Litmus tracking code error


... it seems the code only works if added just above the </body> tag, which is only possible if you email doesn't have any dynamic content.

As noted in the other thread, this is not true. It’s perfectly possible to inject a custom <img> tag via Email Script and also have dynamic content elsewhere.

raiashutosh
Level 2

Re: Litmus tracking code error

@SanfordWhiteman 
Just adding the <img> tag will only give of open leaving out important metrics, If we add the litmus tracking in the module, Marketo parsed the HTML  and stripped of all the litmus tracking keeping just the <img> tag which affects the tracking in litmus.

Anonymous
Not applicable

Re: Litmus tracking code error

Hey Alison,

I've noticed the same thing. Marketo parses the HTML (including your litmus snippet) and then takes the <style> code block generated, segregates it away from the tracking pixel <div> and <img> tag it also makes. 

The real question is, have you tested a Litms-tracked send and found that you're not tracking any behavior from your audience?

I really like what Matt has outlined above. That's a great solution to the problem and worth trying out.
Anonymous
Not applicable

Re: Litmus tracking code error

It should be noted that in order for the tracking code to work, you can't use Send Sample. You have to create a new lead with the testing address provided by Litmus using the instruction in Step 3 found here:
https://community.marketo.com/MarketoArticle?id=kA050000000L7c9CAC

After that, you can test your email using a Single Flow Action:
https://community.marketo.com/MarketoArticle?id=kA050000000KytDCAS
Anonymous
Not applicable

Re: Litmus tracking code error

I spent about 4 hours working on this and still can't make it work. Customer support was completely unhelpful and gave me canned answers.
Matt_Stone2
Level 9

Re: Litmus tracking code error

Hi Dede, did you follow my step-by-step instructions and still weren't able to get it to work?
Matt_Stone2
Level 9

Re: Litmus tracking code error

Also, it's important to note that if you use any sort of segmentation within your email, you CAN'T use email scripts (thus my method wouldn't work).
Anonymous
Not applicable

Re: Litmus tracking code error

Hi Matt S, in regards to your last comment about segmentation within the email, are you referrinf to dynamic content for different audiences?