cancel
Showing results for 
Search instead for 
Did you mean: 

Google Adwords conversion code.

Google Adwords conversion code.

Trying to add value tracking for Magento 1.9 site. Having issues. Please let me know the values to put down for value, and transaction ID that will allow it to provide the proper details back to Google Ads.

 

<!-- Event snippet for Adwords Conversions conversion page -->
<script>
gtag('event', 'conversion', {
'send_to': 'AW-XXXXXXX3047/XXXXXXXXXXQp5_hplM',
'value': 0.0,
'currency': 'USD',
'transaction_id': ''
});
</script>

4 REPLIES 4

Re: Google Adwords conversion code.

Hi @dealercost 

 

At which page you want to put it? I mean we put the conversion tracking code on any success page and value depends upon the scenario. So please share the scenario with us.

 

if issue solved,Click Kudos & Accept as Solution

Re: Google Adwords conversion code.

Thank you so much for your reply. Yes on the success page.

Re: Google Adwords conversion code.

Hi @dealercost 

 

Okay so assuming you want to put the code on order success so value will be the total amount of order. You do it in the following way:

https://inchoo.net/magento/magento-and-google-adwords-conversion-tracking/

 

Or you can use this extension too: https://github.com/lukanetconsult/mage-google-adwords

 

if issue solved,Click Kudos & Accept as Solution

Re: Google Adwords conversion code.

Did you get your point?