Track transaction-specific conversion values

When you track customer actions that might have different values each time that they occur, such as purchases of items with different prices, you can provide transaction-specific values for each conversion. This helps you have a more accurate sense of your return on investment (ROI).

When setting up a new website or in-app conversion action, you can assign the same conversion value to all conversions (sometimes referred to as 'static' values), or different values to reflect transaction-specific (or 'dynamic') values. The following information only applies to transaction-specific values.

In the sections below, we'll show you how to edit your conversion tracking tag to support transaction-specific values for your website technology or mobile app platform.

Before you start

Here's what you'll need before you can set up conversion tracking for transaction-specific values on your website:

  • A Google Ads account: Don't have one yet? Sign up at https://ads.google.com.
  • Google Ads conversion tracking setup: You must have at least one conversion action to track transaction-specific values. If you haven't done so yet, follow the instructions to create a conversion action and set up your Google tag.
  • A website: This is where you'll put the conversion tracking code (called a 'tag').
  • Ability to edit website code: Either you or your web developer will need to be able to modify your website.

Instructions

How to track transaction-specific values on a website

Step 1: Set up transaction-specific conversion tracking in your Google Ads account

First, you'll need to make sure that you selected 'Use different values for each conversion' during the conversion setup process. If not or if you need to check, follow these steps:

  1. Sign in to your Google Ads account.
  2. Click the tools icon Google Ads | tools [Icon] in the top right-hand corner of your account.
  3. Under "Measurement", click Conversions.
  4. Click the name of the website conversion action that you want to edit. You’ll see a list of settings for the conversion action.
  5. Click Edit settings.
  6. Click Value, then select Use different values for each conversion. Provide a default value to use when one isn't provided. Click Save.
  7. Click Done.
  8. Continue to "Step 2: Add or modify the tag in your website's code".

Step 2: Add or modify the tag in your website's code

Refer to this article to verify that you’ve installed the Google tag and event snippet correctly on your website. No matter which technology you use, make sure that the page where you put the code snippet is the one that your customer sees after a conversion.

  • If you’re tracking page load conversions, code for the event snippet is installed on the page that your customer sees after a conversion.
  • If you’re tracking click conversions, the code for the event snippet is installed on the page that has the text link, button or button image that you’d like to track for clicks.

You’ll then need to dynamically pass to the event snippet the value of the conversion and its currency by setting the value and currency parameters highlighted below, at runtime. Make sure that you pass the conversion value as a number, using a point as a decimal delimiter. The currency should be passed as a string, with single quotation marks, using ISO 4217 currency codes.

Event snippet example:

<!-- Event snippet for Example conversion page -->
<script>
  gtag('event', 'conversion', {'send_to': 'AW-123456789/AbC-D_efG-h12_34-567',
    'value': 123.05,
    'currency': 'USD'
  });
</script> 

The way that transaction-specific values are passed to the event snippet varies depending on the server technology that you use to render your web pages. Consult with your web development team to understand how to best integrate the event snippet with your site so that it can capture dynamic conversion values.

Security and privacy for app tracking

Google's security standards are strict. Google Ads only collects data on apps where you have configured tracking.

Ensure that you're providing users with clear and comprehensive information about the data that you collect on your apps, and getting consent for that collection where legally required.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
2701798402320592574
true
Search Help Centre
true
true
true
true
true
73067
false
false
false