You can measure how much Ad Grants contributes to your fundraising efforts by tracking the unique values of each conversion, such as one-time donations or event ticket purchases.
If you use Shopify to process donations on your website, this guide will help you install transaction-specific conversion value trackings for each donation you receive. This tracking helps you have a more accurate sense of how many donation dollars your Ad Grants account helps you raise.
To set up Google Ads conversion tracking with Shopify, you'll need to:
- Create a conversion action
- Install the global site tag
- Add the event snippet
- If you’re tracking purchases, then you also need to edit the event snippet to adjust the value of the conversion based on the purchase amount.
Before You Begin
Make sure you have the following before proceeding to setup conversions in Google Ads with Shopify.
An Ad Grants and/or Google Ads account: Don't have one yet? Check if you're eligible for an Ad Grants account.
A Shopify account: please review the Shopify Help Center if you need help with your donation form..
Steps to create a conversion action to measure donations different values for each conversion. Use this option if, for example, you’re tracking donations of different values or purchases of products with different prices. Later, when you add your conversion tracking tag, you’ll need to customize your tag to track transaction-specific values.
Don't use a value.
Next to “Count,” select how to count these conversions..
When you’re done creating your conversion action, click CREATE AND CONTINUE.
You’ll now see a screen that shows you’ve created your conversion action. Follow the instructions in the next section to set up your tag.
Step 2: Install the global site tag in your Shopify theme code
After you create a conversion action, you need to install the global site tag in your Shopify theme code.
Steps to edit Shopify theme code file. file and change the code as suggested by Google Ads.
Click Save.
For more details on this feature, please find help here. to install the event snippet.
Example of the Additional scripts code once completed:
{% if first_time_accessed %}
<!-- Event snippet for Test conversion page -->
<script>
gtag ('event', 'conversion', {
'send_to': '1234567',
'value': 1.0
'currency': '{{ shop.currency }}'
'transaction_id': '{{ order_number }}'
});
</script>
{% endif %} to edit your Analytics E-Commerce Tracking Code }},
- Click Save.
After you replace the line, your script looks similar to the following example:
{% if first_time_accessed %}
<!-- Event snippet for Test conversion page -->
<script>
gtag ('event', 'conversion', {
'send_to': '1234567',
'value': {{ checkout.subtotal_price | money_without_currency }},
'currency': '{{ shop.currency }}'
'transaction_id': '{{ order_number }}'
});
</script>
{% endif %}
To make sure your tag is working, check the tracking status on the Conversion actions page in your Google Ads account. It might take a few hours for the conversion tracking tag to show as verified.