Skip to content

Instantly share code, notes, and snippets.

@dbalabka
Created June 27, 2023 22:50
Show Gist options
  • Save dbalabka/5b6cd4ec18856e08490cfb511a4c6b51 to your computer and use it in GitHub Desktop.
Save dbalabka/5b6cd4ec18856e08490cfb511a4c6b51 to your computer and use it in GitHub Desktop.
RegExp for all official GA4 events
# See https://support.google.com/analytics/answer/9267735?hl=en
^(add_payment_info|add_shipping_info|add_to_cart|add_to_wishlist|begin_checkout|generate_lead|purchase|refund|remove_from_cart|select_item|select_promotion|view_cart|view_item|view_item_list|view_promotion)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment