# How to track AI recommendations conversion in Google Analytics 4?

The feature described in this article is available [**only in MAX plans**](https://www.getresponse.com/max).

[Here you can learn more about AI Product Recommendations](https://www.getresponse.com/help/what-are-ai-product-recommendations-and-how-they-work.html).

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](https://support.google.com/tagmanager/answer/14842164) and the [GA4 Configuration (Google tag) is added to your website](https://support.google.com/analytics/answer/9304153#add-tag&zippy=%2Cadd-your-tag-using-google-tag-manager) 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**](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtm). The handling of this event will occur on the client side.

To send ecommerce events and parameters to your Google Analytics property:

1.  Open [**Google Tag Manager**](https://tagmanager.google.com/).
2.  In your workspace, open the **Tags** menu.
3.  Create a new tag. In **Tag Configuration**, select **Google Analytics: GA4 Event** and enter your **GA4 Measurement ID**.
4.  As the **Event Name**, enter `view_promotion`.  
      
    ![Tag configuration in GTM](https://us-wd.gr-cdn.com/help/sites/9/2026/05/0751/rcga1.png)  
      
    
5.  Under **More Settings > Ecommerce**, enable **Send Ecommerce data**.
6.  For **Data Source**, select **Data Layer**.  
      
    ![Ecommerce data configuration within Tags in GTM
    ](https://us-wd.gr-cdn.com/help/sites/9/2026/05/0843/send-ecommerce-data.png)  
      
    
7.  Configure a trigger for the GA4 event. Create a new trigger, select **Custom Event** as the trigger type, and enter `view_promotion` as the **Event name**.  
      
    ![Custom event trigger configuration in GTM](https://us-wd.gr-cdn.com/help/sites/9/2026/05/0752/rcga2.png)  
      
    
8.  Save the tag configuration and publish your container changes.

Full documentation can be found [on the following website](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtm).