Skip to main content
Aida_Kamber
Level 2
Apr 14, 2014 2:40 PM UTC
Solved

Where do you place Webtrends code to track a landing page?

We have placed an HTML snippet containing webtrends tracking code on a landing page and have added the javascript code to design studio as a file but webtrends.load.js keeps redirecting to our home page.

Has anyone successfully placed the webtrends tracking code on their Marketo landing pages? 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
Apr 15, 2014 5:37 PM UTC
Place this code in the template or custom HTML block on your landing page:

<script>
$jQ('input#mktFrmSubmit').attr('onMouseDown','value');
</script>

Replace the value with the code they provided.

10 replies

Apr 14, 2014 5:12 PM UTC
Are you supposed to host the Webtrends JS file on your own server? Wouldn't they host that for you and you simply point to it? Seems odd...
Translate
Aida_Kamber
Level 2
Apr 14, 2014 6:07 PM UTC
They asked that we add it to design studio which we did :/
Translate
Apr 14, 2014 6:16 PM UTC
Can you post a link to the landing page that's not working?
Translate
Aida_Kamber
Level 2
Apr 14, 2014 6:33 PM UTC
https://info.kcprofessional.com/GH_Forms_GH_General_Use_Thank_You_12042012.html
Translate
Apr 14, 2014 7:34 PM UTC
Hmm, referencing the file directly works for me. I would contact support for further troubleshooting.
Translate
Aida_Kamber
Level 2
Apr 14, 2014 7:46 PM UTC
Thanks for your help!
Translate
Aida_Kamber
Level 2
Apr 15, 2014 5:09 PM UTC
So, we have figured out that they were calling out webrends.min.js and we had is saved as webtrends.js 

Any idea on how/where to place the onmousedown event to the Submit button?

Thanks!

Translate
Accepted solution
Apr 15, 2014 5:37 PM UTC
Place this code in the template or custom HTML block on your landing page:

<script>
$jQ('input#mktFrmSubmit').attr('onMouseDown','value');
</script>

Replace the value with the code they provided.
Translate
Aida_Kamber
Level 2
Apr 15, 2014 6:03 PM UTC
You're the best Jason!
Translate
Apr 15, 2014 7:16 PM UTC
Glad to help!
Translate