Google Analytics Error with Marketo Landing Pages

Anonymous
Not applicable

Google Analytics Error with Marketo Landing Pages

Hi all,

I was wondering if anyone has an idea for a fix to this problem. We have our Marketo hosted landing pages and that domain starts with "go". In my Google Analytics campaign analysis of our landing pages I am checking out the preview links and it loads 404 error pages seen in the image. I know the reason is because the preview of the landing pages isn't pulling the "go" at the beginning of the url. Just wondering if anyone had ideas. I doubt this is happening in a live scenario, it's probably just a GA thing, but wondering if it can be resolved.

Screen Shot 2017-09-26 at 10.24.31 AM.png

5 REPLIES 5
Josh_Hill13
Level 10 - Champion Alumni

Re: Google Analytics Error with Marketo Landing Pages

This is really a GA question.

Do you have the GA code on your marketo pages? Did you setup the subdomain properly within the GA Account and Webmaster Tools?

Anonymous
Not applicable

Re: Google Analytics Error with Marketo Landing Pages

Hi Calon,

It's most likely a filter issue in Google Analytics. When you look at Google Analytics, which part of the URL do you see? Is it just the URI (aka, everything after your domain name)? I imagine that's the case. If so, there is a solution! See below. If you have any questions or issues with the below, feel free to reach out to me at drew@leadmd.com.

How to create:

  1. Go to the Admin tab (in Google Analytics)
  2. Click “Add Filter”
  3. Name the filter (perhaps something like, All Traffic)
  4. Select “Custom” Filter Type
    1. Field A -> Extract A
      1. Select “Hostname” and input the value “(.*)”
      2. This extracts the Hostname from the URL. What is the Hostname?
        1. The Hostname is the full domain name of the page requested. For example: for http://www.google-analytics.com/requestURL/index.html?sample=text the hostname is www.google-analytics.com.
  5. Field B -> Extract B
    1. Select “Request URI” and input the value “(.*)”
    2. This extracts the Request URI from the URL. What is the Request URI?
      1. Includes the relative URL, or piece of the URL after the hostname. For example: for http://www.google-analytics.com/requestURL/index.html?sample=text the Request URI is /requestURL/index.html?sample=text.
  6. Output To -> Constructor
    1. Select “Request URI” and input the value “$A1$B1”
    2. This output concatenates the Hostname and Request URI. How does this work?
      1. $A1 & $B1 represents the value from ExtractA (Hostname) and ExtractB (Request URI) respectfully
      2. By placing the values of each Extract next to one another, we are expecting Google to mash the values together (or concatenate them)
      3. The resulting value is www.google-analytics.com/requestURL/index.html?sample=text
      4. Because Google Analytics displays the Hostname and URI in separate fields, we need to concatenate them in order for them to display properly.
  7. Check “Field A Required”
  8. Leave “Field B Required” unchecked
  9. Check “Override Output Field”
  10. Leave “Case Sensitive” unchecked
  11. Apply Filter to Views
    1. Select the views you would like to apply this filter to
Anonymous
Not applicable

Re: Google Analytics Error with Marketo Landing Pages

Thanks for this great reply.

So when clicking the preview link to see the landing page in GA. It will be able to load go.movableink.com/Behavioral-Marketing-Playbook-Download.html instead of only https://movableink.com/Behavioral-Marketing-Playbook-Download.html, because this gives 404.

Anonymous
Not applicable

Re: Google Analytics Error with Marketo Landing Pages

Hi Calon,

This is not going to change the functionality of the preview link. I'm not aware that it can be changed. The problem is that GA is always going to try to append your domain to the front of the URI that is shown. It's just how that function works.

However, it will give you the full URL, so you can quickly tell if it's is a page on your website or a Marketo landing page. And, it will give you a super-quick copy/paste opportunity.

Again, I'm not aware of a solution to the preview link. But, this will at least get you close.

Thanks!

Drew

Anonymous
Not applicable

Re: Google Analytics Error with Marketo Landing Pages

Ah ok, so there really isn't a fix to have the actual url of the Marketo landing page show? I mean it's not like a make or break issue, but just was wondering.