Google Analytics
Send demo viewer events to GA4 and Google Tag Manager.
Connect GA4
Go to Integrations → Google Analytics and turn on Enable. Enter your GA4 Measurement ID. You'll find it in GA4 under Admin → Data streams. It looks like G-XXXXXXXXXX.
Optionally add your GTM Container ID (GTM-XXXXXXX) for your own records. Click Save changes.
Forward events from embeds
For demos on your website, open the demo's Share → Embed code tab and turn on forwarding to Google Analytics. The embed then sends events to the Google Analytics and Tag Manager setup on your page. It pushes them to the page's dataLayer.
Add custom dimensions
To use demo details in GA4 reports, go to Admin → Custom definitions and create event-scoped custom dimensions for these parameters:
demo_iddemo_titlestep_indexsource
Test
Open a share link and an embedded demo, click through, and check the events in GA4 DebugView or Google Tag Assistant.
See the list of events.