Enter your MEASUREMENT ID in the settings to enable Google Analytics.
To start in debug mode use value "yes" or "true" in DEBUG MODE settings.
You will find GA4 Custom Event and GA4 User Properties in the Analytics section.
You can add an unlimited number of events. You can add Key/Value pairs through the Bubble interface.
Demo in run mode:
https://ga4-demo.bubbleapps.io/version-test?debug_mode=trueDemo editor page:
https://bubble.io/page?name=index&id=ga4-demo&tab=tabs-1--------
Example for e-commerce:
eventname: add_to_cart
key: event_category
value: ecommerce
key: currency
value: USD
key: item
value: 5008 Black Dress
key: value
value: 39.95
Example to track login:
eventname: login
key:event_category
value: engagement
key: method
value: Google
--------
You can set your own user properties by using the key/value pair:
user_id : current user unique id
email : current user email
--------
For a full overview of events visit:
https://support.google.com/analytics/topic/9756175