Firing events on Google Analytics
Last updated
Last updated
In order to fire events to your measurement ID, you need to first make sure that the Google Analytics code snippet is already added to your website. Usually, website either add it manually on the code or using Google Tag Manager.
At the point in the chatbot flow when you want to fire an event, add the Javascript action block and input this code.
Make sure you add the MEASUREMENT ID of your GA4 property in the mentioned places. And also, use the event name as per your requirement.
You can find your MEASUREMENT ID by navigating to the Settings -> Data collection -> Data streams
Refer to this page for default GA events --