Regex
Regex is a useful way to specify multiple event names for use in multi-use tags and triggers. They can also be used to specify events in GA4 reports.
The following regex can be used to create efficient tags and triggers.
Name | Regex | Copy Regex |
---|---|---|
All Enhanced Ecommerce Events | view_item_list|view_item|select_item|add_to_wishlist|add_to_cart|view_cart|remove_from_cart|begin_checkout|add_shipping_info|add_payment_info|purchase|refund | All Enhanced Measurement Events | page_view|scroll|click|view_search_results|form_start|form_submit|video_start|video_progress|video_complete|file_download | All Automatically Collected Events | first_visit|session_start|user_engagement |
Google Tag Manager Solutions
Enhanced Ecommerce Data Layer
Recommended Events Data Layer