SOLVED

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

Go to solution
Aida_Kamber
Level 2
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? 
Tags (1)
1 ACCEPTED SOLUTION
Anonymous
Not applicable
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.

View solution in original post

10 REPLIES 10
Anonymous
Not applicable
Glad to help!
Aida_Kamber
Level 2
You're the best Jason!
Anonymous
Not applicable
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.
Aida_Kamber
Level 2
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!

Aida_Kamber
Level 2
Thanks for your help!
Anonymous
Not applicable
Hmm, referencing the file directly works for me. I would contact support for further troubleshooting.
Aida_Kamber
Level 2
https://info.kcprofessional.com/GH_Forms_GH_General_Use_Thank_You_12042012.html
Anonymous
Not applicable
Can you post a link to the landing page that's not working?
Aida_Kamber
Level 2
They asked that we add it to design studio which we did 😕
Anonymous
Not applicable
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...