Develo Design


Using The Shopping Cart Total In Magento As The Conversion Value In Adwords

When setting up conversion tracking in Google Adwords, one of the options you will need to select is how much each conversion is worth to your business.

If you selling a variety of goods all with different values, it’s impossible to place a specific value for each conversion as they will always be different.

Fortunately, in Magento, it’s easy to set the actual total of each order as the conversion value.

Conversion value setup on Adwords conversion tracking

During the conversion tracking setup in Adwords, you have three options to choose from; conversion action has the same value, conversion value may vary and conversion has no value.

When you select ‘the value of the conversion may vary’, you will be asked to assign a default value. Leave this as 1 because we will be changing it in a few minutes.

Once you have completed the rest of the setup, Google will provide you with some pre-populated code to add to the success page in your Magento theme. It will look like this:

However, as you can see, they have used the default value we entered previously for the conversion value.

To change this to use the total of the shopping cart (minus shipping), we need to do two things.

First, we need to add the following to the top of the success page:

Secondly, under this snippet of code you have just added, paste the code provided by Google and replace the ‘1.00’ at the end of google_conversion_value with the following:

Check that everything is working as it should within Google Tag Manager and then you can start getting an accurate ROI for your Adwords account.


Loading Disqus Comments ...
Loading Facebook Comments ...

Post Comment

Your email address will not be published. Required fields are marked *

Discuss My Project

We want to hear about your project! Provide us with a few details and we’ll get back to you for a chat.