Last updated:

Tracking Qonfi events in GA4 (Google Analytics 4) manually

Note: this documentation can be used if you don't want to see GA4 data in Qonfi but still want to see Qonfi data in GA4.

Please visit this page if you want to automatically connect Qonfi with GA4 and Google Tag Manager.

Setting up Google Tag Manager (GTM)

We'll be using GTM to pick-up events from Qonfi and send them to GA4.

Step 1: Create a Trigger

Create a new Trigger in GTM, select Custom Event as the trigger type and use qonfi_interaction as the Event name.

Qonfi - Tag Manager Trigger

Step 2: Create the required variables

Create the following variables in GTM:

Name Typeqonfi_questionData Layer Variableqonfi_answerData Layer Variableqonfi_is_startData Layer Variableqonfi_is_finishData Layer Variableqonfi_is_click_throughData Layer Variableqonfi_idData Layer Variableqonfi_nameData Layer Variable

Screenshot 2025-11-12 at 14.19.23

Step 3: Create the tag

Create a tag using the Google Analytics: GA4 Eventtype. Use qonfi_interaction as the Event Nameand add all the previously created variables under Event Parameters.

Next, add the qonfi_last_id property to User propertiesand use the qonfi_id variable as the value.

Add the Trigger created in Step 1 as the trigger for this tag. Give your tag a name and save the tag.

Screenshot 2026-07-28 at 11.18.05

Step 4: Publish and test your configuration

Preview and test your changes in Google Tag Manager. Once all events are correctly firing you can publish your changes. Once published, your Qonfi events will start flowing into GA4.

Qonfi event parameters

Step 5: Creating custom dimensions in GA4

To use the event parameters in your GA4 reports, you'll need add these parameters to your custom dimensions.

In GA4 go to Settings -> Custom Definitions and click on Create custom dimensions. Add the following 5 custom dimensions, including the corresponding dimension name and event parameter.

Choose Event as the scope for all dimensions. Select the correct Qonfi parameter from the Event parameter drop-down. Repeat this for every Qonfi parameter you want to use in your reports.

Dimension name Event parameter Scopeqonfi_questionqonfi_questionEventqonfi_answerqonfi_answerEventqonfi_is_startqonfi_is_startEventqonfi_is_finishqonfi_is_finishEventqonfi_is_click_throughqonfi_is_click_throughEventqonfi_idqonfi_idEventqonfi_nameqonfi_nameEventqonfi_last_idqonfi_last_idUser

Please note that it could take up to a day, before the Qonfi event parameters show up in the Event parameterdrop-down in GA4, after the first Qonfi event is fired on your website for the first time.

Screenshot 2025-11-12 at 14.17.03

Analyzing performance and user behavior

Once your Qonfi events are tracked in GA4, you can start analyzing the impact of Qonfi.

Tracking advised and clicked-through products in GA4

To track advised and clicked-through products in GA4, we'll be using the default view_item_list and select_item e-commerce events from GA4.

Adding the required tags and triggers

To start tracking the GA4 events, we need to make sure the view_item_list and select_item events are correctly captured in GTM. In many case this might already be configured in your GTM container, since these are the same events used to track product events on your website outside of Qonfi. But in case these events are not captured yet, you can follow these steps:

1. Add the view_item_list tag and trigger

Configure the tag (make sure that the "Send Ecommerce Data" checkbox is checked):

Screenshot 2026-07-28 at 10.43.07

And the trigger:

Screenshot 2026-07-28 at 10.53.28

2. Do the same for the select_item event

Screenshot 2026-07-28 at 10.42.52

Debugging

Once the tags and triggers are configured, we can Preview the configuration in GTM. If everything is correctly configured, and we open the DebugView in GA4, we can see that the view_item_list event is firing whenever a user sees a Qonfi product advice and that the select_item event is fired whenever a user clicks on a product in a Qonfi product advice.

Screenshot 2026-07-28 at 10.41.30

Heads-up: Do not forget to publish your changes in GTM.

Was this article helpful?

Yes

No

Need help?

Can't find what you're looking for? Our team is happy to help.

Contact support

Live within an hour. No developers needed.

Turn doubts into confident purchases.

4.8 rating · 300+ shops already chose Qonfi
Fox
Not sure where to start?
Book a 20‑minute demo with Fox
Loading available times…