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 Center.
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 optimization 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 customers click through.
Example
If someone clicks on your free listings from www.example.com, the final URL will look like www.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 3 steps involved in setting up key event tracking include:
- Enabling auto-tagging
- Linking a key event source with 2 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 automatically enabled 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 Center account, click the Settings
in the left navigation menu.
- Select General.
- Select 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 2 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 Center.
- 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 Center. 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 “Lookback window” of 7, 30, 40 days. 30 days is the recommended lookback window.
- Select Next.
- On the “Send tracking” page under “Link your website tag to Merchant Center to track purchases”
- Select Set up button.
- In the “Set up a Google tag” dialog, 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 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 that the tag is properly installed by clicking Test installation.
- Close the dialog and select Next.
- On the “Define purchase event” page under “Define how to track a purchase event”, choose one of the 3 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.
- Option 2 & 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 Center.
After you’re all set up, you’ll start viewing key event metrics in your performance dashboard.
As a reminder, you must ensure you're providing users with clear and comprehensive information about the data you collect on your apps, and getting consent for that collection where legally required.
Remove key event tracking
To remove key event tracking, follow these steps:
- In your Merchant Center account, click the Settings
in the left navigation menu and select General.
- Select 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 store key event source, select Delete next to the key event source that you wish to delete. In the confirmation dialog 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.