In Google Analytics 4 (GA4), conversions are represented as events. Events are user interactions with your website or app that you want to track. You can define custom events to track specific actions such as purchases, form submissions, button clicks, video plays, and more.
Here’s how you can set up conversions and events in GA4:
- Create a Google Analytics 4 property: If you haven’t done so already, create a new property in GA4 by going to the Google Analytics admin area and selecting “Create Property.” Follow the prompts to set up your property.
- Install the GA4 tracking code: Obtain the GA4 tracking code snippet for your property. You can find it in the Admin section under “Data Streams” for your property. Place the tracking code snippet on all the pages of your website or app.
- Define custom events: Identify the actions or interactions on your website or app that you want to track as conversions. These can include actions like purchases, sign-ups, downloads, form submissions, etc.
- Send events to GA4: To send events to GA4, you need to implement the appropriate code on your website or app. This can be done using the gtag.js library, Google Tag Manager (GTM), or a development framework-specific implementation.
- Using Google Tag Manager: If you prefer using GTM, you can set up a GA4 configuration tag and a corresponding trigger to fire the tag on the desired event.
By setting up conversions and events in GA4, you can track and analyze user interactions and actions on your website or app, gaining valuable insights into user behavior and the effectiveness of your marketing efforts.