SEO, AdWords, affiliates, advertising, and promotions
Hi,
Does anyone know how I can exclude Shipping and Taxes from being reported within the Conversion Value of Google Ads? Similarly, perhaps more importantly, I would also like to exclude Shipping and Taxes from being reported within the Revenue of Universal Analytics.
Is anyone able to advise how to do so on Shopify? I've been made aware it's something to do with the code on the checkout page, any ideas how I stop the checkout page sending that information the UA or GA?
Thanks!
Bill
Hello @Billll,
I am Gina from flareAI app helping Shopify merchants get $6Million+ in sales from Google Search, on autopilot. Hope you are having a good day.
To exclude shipping and taxes from being reported in Google Ads conversion value, you can set up a conversion action that only counts the value of the products being sold. You can do this by setting up the conversion action to only fire when a specific event occurs, such as when the purchase is completed, but excluding shipping and taxes from the value.
Below is the steps to set it up in your Google Ads account.
1. Go to the "Tools & Settings" menu and select "Conversions".
2. Select the conversion action you want to edit, or create a new one.
3. Under "Conversion Value", select "Use different value for each conversion".
4. Select "Don't use a value for this conversion action".
5. Under "Count", select "Every" or "One".
6. Save the changes.
To exclude shipping and taxes from being reported in Universal Analytics, you can modify the tracking code on your Shopify checkout page to exclude the shipping and taxes values.
Here's how to do it.
1. Go to the "Online Store" section of your Shopify dashboard.
2. Select "Themes" and then "Actions" and "Edit code" for your current theme.
3. Locate the "checkout.liquid" file and click to open it.
4. Search for the following code:
ga('ecommerce:addTransaction', {
'id': '{{ transaction_id }}',
'affiliation': '{{ shop.name }}',
'revenue': '{{ total_price | money_without_currency }}',
'tax': '{{ total_tax | money_without_currency }}',
'shipping': '{{ total_shipping | money_without_currency }}'
});
5. Replace it with the following code.
ga('ecommerce:addTransaction', {
'id': '{{ transaction_id }}',
'affiliation': '{{ shop.name }}',
'revenue': '{{ subtotal_price | money_without_currency }}'
});
6. Save the changes.
This modification removes the "tax" and "shipping" values from the Google Analytics tracking code on your Shopify checkout page, and only sends the revenue value of the products being sold.
Gina
Hey Bill, it's not too hard. Here's how - it's directly from the Shopify help page (link)
To exclude taxes and shipping from the conversion amount, replace it with this snippet: 'value': {{ checkout.subtotal_price | divided_by: 100.0 }},
To include taxes and shipping in the conversion amount, replace it with this snippet: 'value': {{ checkout.total_price | divided_by: 100.0 }},
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024