SOLVED

Re: Landing page tracking twice

Go to solution
Anonymous
Not applicable

Landing page tracking twice

I have built a custom HTML landing page with a Marketo Form. I left the templates default setting of allowing Munchkin tracking. When viewing an instance of this template, it is tracking two views for a single view of the page. I went back into the editing the template and disabled the Munchkin tracking, approved it, went back to the instance of the template, approved its new draft (created from updating the template), approved it, and viewed the page again. Even after disabling the tracking, it still showed two additional views after I viewed the page once. I have viewed the page in Incognito mode of my primary browser (Chrome), I also viewed it in Firefox and IE11. One time it actually showed three additional views for a single view.

Any ideas?

Edit: When I have set Munchkin tracking to be disabled at the template level (the only place that you appear to be able to control this), it tracks 1 view per single page view (correct on the count). When I have tracking enabled, it tracks 2 views per single page view.

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Landing page tracking twice

Just as a reference, I have been looking at "Statistics: 69 Views, 3 Filled out Form (4%)" in the instance of the landing page settings under the Design Studio (where you have Status, Type, Editing Mode, Statistics, Template, Form, Redirect Rule, URL). Are those stats not correct or not the right place to be reviewing the stats of the landing page?

You don't want to be using those Views because they count all HTTP-level GETs of the Landing Page, which is to say, a superset (sometimes a vast superset) of the true user-interactive pageviews that are logged by Munchkin, the JS-based web analytics library. Those Views include bots and any other user agent context requesting the page.

In other words, those Views aren't Munchkin views, they're more like pure web log lines, which are, if not necessarily useless, merely directional about the amount of traffic seen by a page.

You should use a Web Page Activity report to get accurate stats.

But what's interesting about you peeking in this other area is that it highlights an error in your code.

Look at this CSS rule in one of your inline <styles>:

pastedImage_6.png

Using an empty string as the background-image causes an extra GET of the current document. That's where your extra pageview is coming from. Remember, an empty string and background-image: none aren't the same!

View solution in original post

17 REPLIES 17
SanfordWhiteman
Level 10 - Community Moderator

Re: Landing page tracking twice

Doesn't make much sense.

Are you deploying this page in an IFRAME?

Please provide the URL so we can troubleshoot.

Anonymous
Not applicable

Re: Landing page tracking twice

argus metals

No iframe. This is using the Marketo system to create a landing page from custom HTML.

SanfordWhiteman
Level 10 - Community Moderator

Re: Landing page tracking twice

  1. Def'ly should not troubleshoot LPs using a *.marketo.com hostname as this absolutely leads to unexpected Munchkin behavior. You should always test using your custom LP domain. Not to say that explains that particular issue, but we need to uncomplicate testing.
  2. Please show me a page where you don't have tracking turned off on the template, and have not made any other changes on the derived LP.
  3. Are you positive you have not pasted Munchkin.init() into your HTML, at the base of the <body>?
  4. Even repeated calls to init() with the same parameters don't result in multiple Visit Web Page events (Munchkin controls for this error) so something else is going on besides simply ​init()ing twice.
Anonymous
Not applicable

Re: Landing page tracking twice

I actually have the tracking enabled at the moment and since yesterday when I asked for help. I was just explaining one thing I had tried. I do absolutely do not have my own tracking code added. If you look at the rendered source code of the page, you will see there is only one Munchkin.init() call being made and it is at the bottom of the page being inserted by Marketo.

SanfordWhiteman
Level 10 - Community Moderator

Re: Landing page tracking twice

It's not currently logging multiple views (at the network level).

Anonymous
Not applicable

Re: Landing page tracking twice

Just as a reference, I have been looking at "Statistics: 69 Views, 3 Filled out Form (4%)" in the instance of the landing page settings under the Design Studio (where you have Status, Type, Editing Mode, Statistics, Template, Form, Redirect Rule, URL). Are those stats not correct or not the right place to be reviewing the stats of the landing page?

Thank you for your assistance.

SanfordWhiteman
Level 10 - Community Moderator

Re: Landing page tracking twice

No, that wouldn't be where we'd typically report. I think I know now where your confusion stems from. Have to step out for a bit but will update later today.

SanfordWhiteman
Level 10 - Community Moderator

Re: Landing page tracking twice

Just as a reference, I have been looking at "Statistics: 69 Views, 3 Filled out Form (4%)" in the instance of the landing page settings under the Design Studio (where you have Status, Type, Editing Mode, Statistics, Template, Form, Redirect Rule, URL). Are those stats not correct or not the right place to be reviewing the stats of the landing page?

You don't want to be using those Views because they count all HTTP-level GETs of the Landing Page, which is to say, a superset (sometimes a vast superset) of the true user-interactive pageviews that are logged by Munchkin, the JS-based web analytics library. Those Views include bots and any other user agent context requesting the page.

In other words, those Views aren't Munchkin views, they're more like pure web log lines, which are, if not necessarily useless, merely directional about the amount of traffic seen by a page.

You should use a Web Page Activity report to get accurate stats.

But what's interesting about you peeking in this other area is that it highlights an error in your code.

Look at this CSS rule in one of your inline <styles>:

pastedImage_6.png

Using an empty string as the background-image causes an extra GET of the current document. That's where your extra pageview is coming from. Remember, an empty string and background-image: none aren't the same!

Anonymous
Not applicable

Re: Landing page tracking twice

While greatly I appreciate the insight (and the CSS correction), I doubt that is where the extra view is coming from because there are over a dozen GETs between the images and JS files being loaded. I'm a developer working at an agency building out multiple landing pages and emails for Argus Media to be deployed through Marketo and this is my first time working with this system, so it is all new to me. And because the sub-account they created for us isn't an Admin account, there are apparently quite a few things I am losing access to, like the LP domains and control over URLs.

I really appreciate the help you have provided me. The URLs may be something we just have to let the client setup after all the landing pages have been created.