How to track AI recommendations conversion in Google Analytics 4? MAX
The feature described in this article is available only in MAX plans.
You can track the performance of AI recommendations in Google Analytics 4 using Google Tag Manager.
Before you begin
- Make sure that GTM container is added to your website and the GA4 Configuration (Google tag) is added to your website via Google Tag Manager.
- You will need a developer familiar with Google Analytics. While we assist with the AI recommendations implementation process, tracking AI recommendation events in GA4 is required on the customer’s side.
When a recommendation banner is generated, a view_promotion event is pushed to the dataLayer in accordance with the Google Analytics 4 documentation. The handling of this event will occur on the client side.
To send ecommerce events and parameters to your Google Analytics property:
- Open Google Tag Manager.
- In your workspace, open the Tags menu.
- Create a new tag. In Tag Configuration, select Google Analytics: GA4 Event and enter your GA4 Measurement ID.
- As the Event Name, enter
view_promotion.
- Under More Settings > Ecommerce, enable Send Ecommerce data.
- For Data Source, select Data Layer.

- Configure a trigger for the GA4 event. Create a new trigger, select Custom Event as the trigger type, and enter
view_promotionas the Event name.
- Save the tag configuration and publish your container changes.
Full documentation can be found on the following website.