...
In GA4 > Admin > Property Settings > Data Display > Custom definitions
Create custom dimension
Then add each of these values for these events. (You can add custom dimensions for the PDP if needed)
Dimension name | Scope | Description | Event parameter |
---|---|---|---|
aishoppingassistant_page | Event | Which page the AI shopping assistant was on | aishoppingassistant_page |
aishoppingassistant_message | Event | What message was sent to the AI shopping assistant | aishoppingassistant_message |
aishoppingassistant_trigger_type | Event | What trigger type triggered in external trigger | aishoppingassistant_trigger_type |
aishoppingassistant_is_suggested_text | Event | When a message is from suggested text | aishoppingassistant_is_suggested_text |
aishoppingassistant_products | Event | What products are recommended to user | aishoppingassistant_products |
aishoppingassistant_product_id | Event | The unique ID of the clicked product | aishoppingassistant_product_id |
aishoppingassistant_product_name | Event | The name of the clicked product | aishoppingassistant_product_name |
aishoppingassistant_product_position | Event | The rank position of the clicked product in the product recommendation | aishoppingassistant_product_position |
aishoppingassistant_product_price | Event | The price of the clicked product | aishoppingassistant_product_price |
aishoppingassistant_user | User | The user who interacted with the AI shopping assistant | aishoppingassistant_user |
...