This way of setting up analytics uses Google Tag manager or custom JavaScript to pick up events that are delivered by the Aiden app to the website it is embedded in.

Every Aiden app sends JavaScript events to the parent webpage. These events can be used to store customer data or track Aiden app usage. This is done by capturing the events that Aiden sends, and using this data to trigger other events, such as Google Analytics or Google Tag Manager events.

Using this approach allows for insights on both an aggregate and unique user level, the latter of which can in turn be leveraged for e.g. marketing automation. You can, for example, see which answers a particular user gave, or which products were advised, and save this data in a CRM application.

👉 For an overview of all the events that Aiden sends, see List of Aiden JavaScript events.

Here's a flow chart that shows you how it works!


Ready to get started? There are two ways to set up your events-based analytics: via Google Tag Manager, or through a custom implementation on your website.

1. Implementing events via Google Tag Manager

The steps below guide you through the process of picking up Aiden events with Google Tag Manager.

Step 1: Create Aiden custom HTML tag in Google Tag Manager

  1. In Google Tag Manager navigate to Tags
  2. Click new to create a new tag
  3. Click Tag Configuration and choose Custom HTML as tag type
  4. Paste the following code in the HTML field
  5. Click Triggering and choose All Pages (type: Page View) as the trigger
  6. Click Save and rename the tag to Custom HTML - Aiden Events