Setting up Litmus Analytics tracking in LO

Options
Hey!


My question relates to the implementation of Litmus tracking snippets within emails sent using LO.

I've added the tracking snippet and tried testing my tracking code with both a test send and a reviewer send.


Litmus is reporting the following error: "Looks like we found the tracking code, but it wasn't fully there. Try pasting the code again and resend your email."

 

 <style data-ignore-inlining>

@media print{ #_t { background-image: url('LITMUS_TRACKING&d=[[S1:primary_email]]');}}

div.OutlookMessageHeader {background-image:url('LITMUS_TRACKING&d=[[S1:primary_email]]')}

table.moz-email-headers-table {background-image:url('LITMUS_TRACKING&d=[[S1:primary_email]]')}

blockquote #_t {background-image:url('LITMUS_TRACKING&d=[[S1:primary_email]]')}

#MailContainerBody #_t {background-image:url('LITMUS_TRACKING&d=[[S1:primary_email]]')}

</style>

<div id="_t"></div>

<img src="LITMUS_TRACKING?d=[[S1:primary_email]]" width="1" height="1" border="0" alt="" />



My assumption here is that the 'test/reviewer' sends are not triggering the tracking correctly, as this seems to be the case with other ESPs.


Does anyone have experience implementing these snippets and has them working? Could you possibly give me a brief breakdown of the best/most robust way of implementing Litmus tracking within LO?


Any help would be greatly appreciated!


Thanks and Regards,

Stephen
Tagged:

Comments

  • So, I just wanted to post this here for anyone else experiencing issues with this. I was running an inliner which was causing the snippet to break.


    Best way to add the snippet is as follows:
    1. Go into the HTML section of the email
    2. Make sure you in plain text view
    3. Paste the tracking code, just before the closing body tag of the email.
    4. Save the email
    Note that viewing the email hereafter in non-plain text view/mode could negatively affect the tracking snippet, as Litmus will generally wrap pieces of the email in paragraph tags and remove style tags in some instances. I have not tested this, but something to be aware of.


    Good luck!
  • I would keep the Litmus code outside of any tags. I have seen the Litmus tag affect CSS if placed inside any tag.


    Keep it as the last bit of code added to your HTML in the plain-text editor.


    When testing, put your Litmus test e-mail address in the 2. Test the Message box where your e-mail appears when testing.


    Thanks,


    Phil

Categories