Tagged: google adwords, onclick, Tracking Code
Hi guys,
I have a client that would like to track 3 behaviors from Google AdWords Campaigning :
Email Opt-Ins*
Contact Form Submissions*
Products Purchased
* These forms require “onclick” code ON the button text in addition to script that goes into the head of each page. How do I do this with Enfold’s out of the box contact form tool? I tried to wrap the required html around the text in the button field, but that didn’t work (showed the text).
Example of code:
<a onclick=”goog_report_conversion (‘http://example.com/your-link’)”
href=”http://example.com/your-link”>Download now!
Thanks!
Jaime
Hey jaimemerz!
Please refer to this post – http://kriesi.at/documentation/enfold/add-onclick-event-to-the-contact-form-submit-button/
Regards,
Yigit
Hi again,
I’ve tried to follow the instructions within the link provided, and I don’t understand what I need to do when you say:
Note – you will need to replace onclick=\”_gaq.push([‘_trackPageview’, ‘/VP/XXX/XXX’]);\” with your tracking code – it’s just an example.
Google suggests adding this code:
<button onclick=”goog_report_conversion (‘http://example.com/your-link’)” href=”http://example.com/your-link”>Download now!</button>
I’m confused. Where do I find my “tracking code” to replace what you have shown in your example?
Hi!
ask google support about your google tracking code. As far as I know you can find your google tracking code inside your Google Analytics Account.
Regards,
Andy