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


    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.




    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;

    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.


    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’); = ‘0px'; = ‘0px';


    iframe.src = ‘';




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



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

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