Developer forum

Forum » CMS - Standard features » Google Analytics code breaks paragraph navigation

Google Analytics code breaks paragraph navigation

Terri Donahue
Terri Donahue
Reply

We have a situation where GA code is placed in marketing emails and it breaks the paragraph navigation. Clicking the link takes you to the page rather than the specific paragraph. The solution is running version 8.9.1.9. Is this expected behavior.


Replies

 
Nicolai Pedersen
Reply
Hi Terri I am not sure I understand - can you show some dumps on how this is included. It sounds like an error in the implementation. Or in GA.
 
Kirsten Clemens
Reply

Hi Nicolai,

We add links without any tracking to our newsletter page and add the tracking on the email draft. I've attached a few screenshots of some of our emails' tracking settings (Edit Email > Advanced > Measuring > Tracking > Google Analytics option).

Here's an example of a URL that is generated with those settings applied to a link with paragraph navigation that is broken (this link was copied from a sent email where all other tracking links worked): https://www.lorenz.com/more-information/have-a-question-(faq)#2975?utm_source=Lorenz&utm_medium=Email&utm_campaign=PianoEmailCampaign&utm_term=&utm_content=

The email's edraft settings mirror the attachment with no campaign content (I think I screenshotted a different campaign, but same type of thing). The URL used on the newsletter page was: www.lorenz.com/more-information/have-a-question-(faq)#2975

I hope this information helps. Let me know if I can provide anything else.

Kirsten

LorenzExampleNoCampaignContent.JPG LorenzExampleWithCampaignContent.JPG

 

You must be logged in to post in the forum