Certain links break if a URL is used as content portion of Google Analytics

  • 2
  • Problem
  • Updated 5 years ago
  • Solved
  • (Edited)
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Resolved

I'm having problem with "utm" code being automatically tacked on to links in a campaign. Our tests and the online version work fine but when this campaign is viewing in Outlook or Google mail. The links seem to be transformed with the extra utm code as if we doing some extra tracking in Google Analytics. We're not doing anything like that. We have put the Google Analytics account number in the set up for this account but that's all.
Photo of Steve Palmquist

Steve Palmquist

  • 29 Posts
  • 9 Reply Likes

Posted 6 years ago

  • 2
Photo of Katie Lewis

Katie Lewis, Official Rep

  • 3414 Posts
  • 309 Reply Likes
Hi Steve! When you say you've only put the Google Analytics account number in the account's setup, do you mean you didn't apply it to this mailing? The utm code is the Google Analytics tracking, which is why I'm curious.

I spotted the email you sent us, too, where you gave the specific mailing where this is happening. When I look at the mailing's response and hover over the links in the bottom section labeled The Clicks, I'm seeing that Google Analytics tracking was applied; that's the utm and other text that appears in the URL when the link name is hovered over.



Would you mind sharing with me the Hostgater URL you're taken to when you click on one of the images in Outlook or Google Mail, as you mentioned in the email?
Photo of Brandi Leath

Brandi Leath

  • 531 Posts
  • 67 Reply Likes
Hi Steve!

I think utm links are automatically added to a campaign for tracking when you give it a name at the bottom of "Review and Send". Are you doing that?

Photo of Steve Palmquist

Steve Palmquist

  • 29 Posts
  • 9 Reply Likes
In answer to Katie's request, I'll paste in below a the resulting link from an image and a corresponding text link from the campaign:

Image Link:
http://christianrecoverycenter.org/de...

Text Link:
http://christianrecoverycenter.org/de...

In answer to Brandi's question: I have put in the Google Analytics tracking code but I don't see anywhere to add additional information in terms of naming the campaign for Google.



Thanks,
Steve
Photo of Brandi Leath

Brandi Leath

  • 531 Posts
  • 67 Reply Likes
Good morning Steve! :)

Yea, the UA-20266889-1, is the name of your google analytics campaign. I'm pretty sure when you put anything in that part of the form, the utm tracking code will automatically be inserted in your links for you to be able to utilize google analtyics with your campaign.

Katie can confirm and further explain if this is it. :)
Photo of Katie Lewis

Katie Lewis, Official Rep

  • 3414 Posts
  • 309 Reply Likes
Thanks, Steve! I think you're running into a bug in our platform where certain links break if a URL is used as the content portion of Google Analytics tracking. Here's how to duplicate it:

  1. Create a link to an image, without alt text
  2. Review and send, and assign a campaign name for Google Analytics
  3. From the inbox, the link doesn't work; it goes to http://christianrecoverycenter.org/december-2013-newsletter?utm_campaign=newsletter&utm_medium=email.... (I did this in my own account using your URL but a random image.)

I tested with http://christianrecoverycenter.org/december-2013-newsletter outside of Emma using Google's URL Builder and got this link -- http://christianrecoverycenter.org/december-2013-newsletter?utm_source=newsletter&utm_medium=email&u... -- which works, so it seems there's something we're doing in building the URL that breaks it.

If I edit the link and add alt text, then the alt text, rather than the image url, was used for the "content" part of the Google Analytics tracking, and the link works. I suggest making sure alt text is added to images, which you can do by clicking on an image in the editor.
Photo of Steve Palmquist

Steve Palmquist

  • 29 Posts
  • 9 Reply Likes
I've been adding in the Google Analytics account number for my clients' campaigns automatically, but it sounds like I'd better stop doing that unless the client has a specific tracking goal in mind and we follow up with the alt text.

You mentioned "alt text" twice in the last paragraph of your message--I wanted to check that with you to see what you meant by that so I'm clear about your description.

Also, can my client get a refund for this campaign? It won't amount to much since her audience base is just getting started but this was only her second enewsletter, so I'd like her to know that Emma is responsive to situations like this.

Thanks,
Steve
Photo of Katie Lewis

Katie Lewis, Official Rep

  • 3414 Posts
  • 309 Reply Likes
Right, you needn’t add a Google Analytics account number unless you’ll be using it for tracking.

Sorry about “alt text”; I meant to add a screenshot! When you click an image in your mailing, you’ll see a couple fields:



The Give this image a link field makes your image clickable, and the Alternate text field is where you’ll type the text you want to display if a recipient doesn’t have their inbox set to automatically display your email’s images.

I’m so sorry your client experienced this bug on one of her first newsletters, Steve. That’s such a bummer. I’ve reached out to my Billing Team to see what we can do for you, and I’ll give you a shout over email with those details as soon as I hear back.
Photo of Katie Lewis

Katie Lewis, Official Rep

  • 3414 Posts
  • 309 Reply Likes
Also, I’m updating this conversation’s subject line to reflect what the problem is.
Photo of Jaeckle Fleischmann & Mugel, LLP

Jaeckle Fleischmann & Mugel, LLP

  • 3 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled
Image link not working in holiday ecard.


The Image link in my business' holiday ecard is not working. Works fine when I view the link in the Emma Response tab. It does not work when a user clicks on the ecard, emma adds code when it is pointing to the ultimate destination link with the animated ecard. This is very time sensitive. Why is this not working? I have used emma for at least 3-4 years, and have not seen this occur previously.
Photo of Ben Vance

Ben Vance, Alum

  • 328 Posts
  • 14 Reply Likes
Hi everyone!  Just dropping in here to say that this bug has been fixed!