AdWords
2.1K members online now
2.1K members online now
Use AdWords conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

Conversion tracking code in thank you page

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

    I want to track the contact us form submissions on my website. We have put the contact us form on several required pages and want to track submissions on each pages. I have generated the tracking code from adwords, but where I have to add the code in the page?

For eg: I have a contact us form in https://ivoryhomes.com/community_details/Country+Fields&tab=fp/ page, So can I add the code in this page directly or should I create a thank you page and add the tracking code on it?

If so, in 'thank you' page, where can I add the tracking code exactly? Or if there is an option to track them without creating thank you page kindly let me know it.

 

Thanks in advance

Re: Conversion tracking code in thank you page

Badged Google Partner
# 2
Badged Google Partner

Hello @Surya S,

Yes. You can track the conversions in two ways.

1) By creating NThank You Page:

This is called Destination Conversion.

You need to have separate Thank you page for this.

Generate a conversion code from adwords and place that code before the closing tag of body (/body) of your Thank you page Source Code.

 

2) Without Creating Thank You Page:

This type is called Event Conversion.

Simply generate Event conversion code and paste it within your form's Submission link (Submit).

 

Thanks,

Manikandan G.

Conversion tracking code in thank you page

Badged Google Partner
# 3
Badged Google Partner

Hello @Surya S,

  1. Open the HTML for the page your customers reach on your website after they've completed a conversion—the "Thank you for your order" page, for example. This is called the conversion page.
  2. Between the body tags (<body></body>) of the page, paste your conversion tracking tag. (If you haven't already, follow these instructions to create your tag.)
  3. Save the changes to your webpage. And that's it!

Here's the HTML for a very simple webpage:

  <html>
  <head>
  <title>Sample HTML File</title>
  </head>
  <body>
  <Paste your conversion tracking tag here.>
  </body>
  </html>
 

Here's the same webpage after the conversion tracking tag has been added (sample only—this code won't work on your website):

  <html>
  <head>
  <title>Sample HTML File</title>
  </head>
  <body> Paste your conversion tracking tag here.
  <!-- Google Code for Purchase Conversion Page -->
  <script type="text/javascript"> 
  /* <![CDATA[ */
  var google_conversion_id = 1234567890;
  var google_conversion_language = "en_US";
  var google_conversion_format = "1";
  var google_conversion_color = "666666";
  var google_conversion_label = "xxx-XXx1xXXX123X1xX";
  var google_remarketing_only = "false"
   var google_conversion_value = 10.0;
   var google_conversion_currency = "USD"
  /* ]]> */ 
  </script>
  <script type="text/javascript" 
  src="//www.googleadservices.com/pagead/
  conversion.js">
  </script>
  <noscript>
  <img height=1 width=1 border=0 
  src="//www.googleadservices.com/pagead/
  conversion/1234567890/
  ?value=10.0&amp;currency_code=USD&amp;label=xxx-   
  XXx1xXXX123X1xX&amp;guid=ON&amp;script=0">
         </noscript>
  </body>
  </html>

 

Conversion tracking code in thank you page

Badged Google Partner
# 4
Badged Google Partner

@Surya S

And as you said you don't have Thank you page and you want to track the conversion. So, this can be tracked under Analytics and You can set that as Goal under Analytics and then import that in Google AdWords (Auto-tagging Should be enabled for that) to track the Conversion.

You can implement Event Tracking, please read this:https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

Regards,

Syed Sayem Mustafa