SOLVED

Re: Landing page template: Web page visit data not passing to MKTO

Go to solution
Anonymous
Not applicable

Landing page template: Web page visit data not passing to MKTO

We implemented some custom MKTO landing page templates and they are not passing Web Page Visit activity data to MKTO.  We tested landing pages with the custom templates against the exact same landing pages using blank templates.  The blank templates pass visit data and the custom templates don't pass visit data.  We only customized the templates to mirror the site header on our corporate website.  Everything else works fine including Fills out form activity data.  However, we need the page visit data to try to measure landing page drop off.

Can anyone please tell us what code on the landing page template is responsible for passing Web Page Visit data to MKTO?  Or can someone please explain how the template passes web page visit data to MKTO?

Thanks in advance for any advice.
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Landing page template: Web page visit data not passing to MKTO

Dani,

You may have deleted the PHP code entries which Marketo uses to place the Munchkin tracking code into the landing pages.  If you look at the blank template's HTML, you'll see 3 PHP entries which need to be included in the templates.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Re: Landing page template: Web page visit data not passing to MKTO

Do you have munchkin code data installed on those pages? You won't get any page activity info without it.
Anonymous
Not applicable

Re: Landing page template: Web page visit data not passing to MKTO

Dani,

You may have deleted the PHP code entries which Marketo uses to place the Munchkin tracking code into the landing pages.  If you look at the blank template's HTML, you'll see 3 PHP entries which need to be included in the templates.
Anonymous
Not applicable

Re: Landing page template: Web page visit data not passing to MKTO

It turns out, a line of code was missing from the custom landing page template.  I took Jesse's tip and started trying to figure out if there was a line of missing PHP code.  

Our support engineer pointed us to an article that describes how to stop tracking by commenting out some code in the template.  "How to remove Munchkin from landing pages" / https://community.marketo.com/MarketoArticle?id=kA050000000L3JnCAK

Starting with that article, I checked both the blank landing page template and our custom landing page template for the line of code mentioned in that article.  I found that the line of code was present in the blank template that tracked correctly and it was missing from our custom template.  By restoring that line of code in our custom landing page template, the Visit Web Page tracking data started appearing in Activity Logs again.

Here is the missing line of code:
<?php echo $mContext['endElements']; ?>

If you're having the same issue, then look for this code in your Blank Landing Page Template that came with MKTO and then try restoring this code in your custom template.