Just enter your measurement ID in the settings and you are good to go!
You will find GA4 Custom Event and GA4 User Properties in the Analytics section.
-------
If you need GTM, A Server Side Container and Consent Options please visit the PRO version of the plugin at:
https://bubble.io/plugin/consent-v2-+-server-side-ga4-gtm-1718004590823x903735664842637300-------
Version 2.20 > You can now add an unlimited number of events if you use the new GA4 events. You can add Key/Value pairs through the bubble interface.
Older versions: You can add up to 10 custom parameters to your event. Please consider to upgrade your calls to the new method of key/value pairs.
--------
For E-commerce you could add:
eventname: add_to_cart
key: event_category
value: ecommerce
key: currency
value: USD
key: item
value: 5008 Black Dress
key: value
value: 39.95
Or to track your login events with method:
eventname: login
key:event_category
value: engagement
key: method
value: Google
User properties:
You can set your own user id by using the key/value pair:
user_id : current users unique userid
You can add up to 25 additional user properties as per the google GA4 manual.
For a full overview of events visit:
https://support.google.com/analytics/topic/9756175