Event tracking allows you to configure tags to be fired in response to events. While event tracking cannot be set up exclusively within Site Kit, it can be configured using Site Kit in combination with Google Tag Manager and/or Google Analytics 4 (GA4).
Note that the steps below are to configure event tracking only. Reporting on any configured events can be viewed in the Google Analytics platform. Note also that many GA4 events are automatically tracked, including ad clicks and file downloads. You can use a GA4 Configuration tag using Tag Manager, or you can create your own events using the Google Analytics 4 interface.
Option 1: Use Google Tag Manager with Google Analytics 4
- Ensure that you have created a Tag Manager account and container on the Google account that you’ve used to set up Site Kit. You can skip the instructions about installing a container, as Site Kit will install your container when you connect the Tag Manager module in the plugin.
- Follow this guide to set up your Events in Google Tag Manager using the GA4 Configuration tag.
- Once you’ve completed the setup, connect Google Tag Manager via Site Kit by going to Site Kit > Settings > Connect More Services > Tag Manager in the WordPress administrator panel. You’ll be prompted to log in to your Google account to connect. Be sure to log into the account that you used to set up Google Tag Manager.
Option 2: Use the Google Analytics 4 interface
- Connect the Google Analytics module by going to Site Kit > Settings > Connect More Services > Analytics. Ensure that you have a Google Analytics 4 snippet inserted on your site using Site Kit or by other methods.
- Visit analytics.google.com and navigate to the connected Google Analytics 4 property
- Follow this guide to set up your events
- Once you’ve completed setup, you can verify your event tracking using the tagassistant.google.com service