Setting up GTM Analytics Tag to send Potions Events

🎯
The goal is to configure GTM so it will send Analytics events based on the Potions Events pushed in the DataLayer
Create a new trigger named Potions - potions
Image without caption
⚠️
Tick “Use regex matching”
Create all the following variables
  • action_id
  • experience_id
  • experience_name
  • item_id
  • item_ids
  • debug_mode
Image without caption
Create a new tag named Potions - Event GA4 - potions
Image without caption
Create and add all the following event parameters with the previously created variables :
  • action_id
  • experience_id
  • experience_name
  • item_id
  • item_ids
  • debug_mode
Where each variable is defined this way
Share