Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17211

    Hi

    I would like to track conversions made through Google AdWords once a visitor has completed the contact form on the Contact page. Which file do I need to edit to place the conversion tracking code?

    NOTE: The contact form page has the same URL as the page once the form has been completed. I do not want to track visitors who visit the contact page as conversions, only those who have COMPLETED the contact form.

    Thanks

    Zak

    #94579

    I’m not familiar with the Adwords ajax track conversion but you probably want to hook into the ajax response code. Open up js/avia.js and search for following code:

    form_sent = true;
    send.button.fadeOut(300);

    Add your google tracking code after it – it won’t execute if the user doesn’t send the form or if the ajax request fails.

    #94580

    Found this option that could help too: First add the Conversion code to a simple html file and the add the following to the avia.js

    function ppcconversion() {

    var iframe = document.createElement(‘iframe’);

    iframe.style.width = ‘0px';

    iframe.style.height = ‘0px';

    document.body.appendChild(iframe);

    iframe.src = ‘http://www.yourdomain.com/_tracking/google.html';

    };

    #94581

    Hey,

    @jorgepelaez: Thanks for the tip. I hope it works.

    Regards,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘AdWords Conversion Tracking’ is closed to new replies.