Key event tracking, when enabled in Merchant Center, allows you to monitor your sales using specific key event metrics related to purchases. Key event tracking helps you identify which products and keywords are most successful for your business.
This article explains how key event tracking works and provides instructions on how to set it up in Merchant Centre.
On this page
- Benefits of key event tracking
- How key event tracking works
- Set up key event tracking
- Remove key event tracking
- Frequently asked questions
Benefits of key event tracking
- Performance measurement: Key event tracking enables you to measure the success of your product sales. When used with a web analytics tool, key event tracking allows you to track how effectively your products are showing for free on Google. Key event tracking helps you get performance reports with insights about your free product listings – like whether they've led to purchases and how they compare to your overall Google traffic.
- Continuous improvement: Key event tracking provides a feedback loop for ongoing optimisation of your products. You can continually refine and enhance your product offerings and website based on product traffic and data-driven insights, leading to better results over time.
- Improved metrics: Key event tracking plays an important role in understanding and improving metrics such as clicks, impressions and click-through rate (CTR) to improve your online advertising and marketing.
How key event tracking works
After a customer clicks on your free product listings, key event tracking adds a bit of additional information – a parameter called a result ID – to the URLs that customers click through.
Example
If someone clicks on your free listings from example.com, the final URL will look like this: example.com/?srsltid=123xyz.
The result ID is created at the time of an impression. If a customer clicks the same free listings again, the same result ID will be used.
Set up key event tracking
The three steps involved in setting up key event tracking include:
- Enabling auto-tagging
- Linking a key event source with two options:
- Link to Google Analytics property – This option requires linking an existing Google Analytics account.
- Apply tags on your website – This option requires you to change your website's code.
- Setting up a tag on your website
Key event tracking can either be enabled automatically by default for some Merchant Center accounts or enabled at the account level by an admin, depending on the account setup. To enable key event tracking, follow the steps below.
Step 1 of 3: Enabling auto-tagging
- In your Merchant Centre account, click Settings
in the left navigation menu.
- Select General.
- Select the Key event setup tab.
- Toggle on Auto-tagging. A banner will appear confirming that the auto-tagging feature is turned on. Now you can start adding key event sources.
Step 2 of 3: Linking a key event source with two options
- Select Add key event source. You can either select to go through Google Analytics or through applying tags to your website.
- In 'Select how to track product purchases', you can select either 'Link Google Analytics' or 'Link your website'.
- If you have a Google Analytics 4 account, you can select 'Link Google Analytics' and you can link your accounts to send key event details on purchases from Google Analytics to Merchant Centre.
- If you don't have a Google Analytics 4 account, you can use a Google tag that sends purchase details directly from your website to Merchant Centre. Select 'Link your website' and select Next.
Step 3 of 3: Setting up a tag on your website
- On the 'Receive tracking' page, under 'Configure key event tracking data':
- Add 'Tracking name'.
- Select 'Attribution model'.
- Select a look-back window of 7, 30 or 40 days. 30 days is the recommended look-back window.
- Select Next.
- On the 'Send tracking' page, under 'Link your website tag to Merchant Centre to track purchases':
- Select the Set up button.
- In the 'Set up a Google tag' dialogue, use 'Install manually' to install the Google tag with gtag.js in your website code.
- If you use a website builder or CMS like WordPress, Shopify or Wix, use the 'Install with a CMS or website builder' option under 'Show more options'.
- You can also reuse an existing Google tag by choosing the 'Use a Google tag that you already have' option under 'Show more options'.
- Next to the code snippet, select
to copy the code to your clipboard.
- Paste the entire tag snippet in the code of every page of your website, immediately after the
<head>element. - You can test whether the tag is properly installed by clicking on Test installation.
- Close the dialogue and select Next.
- On the 'Define purchase event' page, under 'Define how to track a purchase event', choose one of the three options below:
- Option 1: Add the key event URL. This is the URL of the page that a customer lands on after completing a purchase.
- Options 2 and 3: Select Advanced settings for instructions on how to add a purchase event directly to your website when a page opens (option 2) or when a button is clicked (option 3).
- Select Done.
After you've configured the connection with the key event source, you'll need to refresh the page to view the key event source added to the table in Merchant Centre.
After you're all set up, you'll start viewing key event metrics in your Performance dashboard.
As a reminder, you must ensure that you're providing users with clear and comprehensive information about the data that you collect on your apps and that you're getting consent for that collection where legally required.
Remove key event tracking
To remove key event tracking, follow these steps:
- In your Merchant Centre account, click Settings
in the left navigation menu and select General.
- Select the Key event setup tab.
- For a Google Analytics key event source, select Remove access in the table's 'Actions' column next to the key event source that you wish to delete. In the pop-up window, select Remove access.
- For an online shop key event source, select Delete next to the key event source that you wish to delete. In the confirmation dialogue box, select Delete.
Frequently asked questions
How do I view traffic from free listings in Google Analytics?
For Google Analytics 4 properties, the traffic source is 'Shopping free listings'. For Universal Analytics (the previous version of Google Analytics) properties, free listings traffic is reported with all other free listings traffic sources from Google (with 'Google' as the traffic source and 'free listings' as the medium).
Learn more about traffic sources in Google Analytics.