Analytics - Integration

Modified on Wed, 24 Apr 2024 at 11:13 AM

TABLE OF CONTENTS


Analytics

Eduframe supports the usage of:

  • Universal Analytics (Google Analytics)
  • Google Analytics 4 (Google Analytics)


In addition to this Eduframe supports Google Tag Manager (GTM) on the signup page. With GTM it is possible to:

  • Send enhanced e-commerce data to Google Analytics, Adobe Analytics and/or other analytics tooling
  • Send conversion data to Facebook/Google/LinkedIn/etc.
  • Apply Hotjar/Google Optimize in check out



Important note: Google stopped support for (unpaid) Universal Analytics at 1 July 2023. Consider upgrading to Google Analytics 4 as soon as possible.


Note: While Google Analytics is pretty straightforward, GTM needs some configuration on both the Google Analytics side and the Analytics platform chosen by you. See the tips & tricks section below this page for more info.



Privacy

Eduframe automatically anonymises data collected by Universal Analytics and Google Analytics 4. Because of this the cookies are regarded as 'analytical cookies' (not 'tracking cookies') and no cookie consent is needed when using both Universal Analytics and Google Analytics 4.


When configuring the optional Google Tag Manager tag, data is not anonymised by Eduframe. Data needs to be anonymised by yourself, in the analytics tooling of your choice.


Setup

Google Analytics

How to set up the Google Analytics integration?


  1. Go to Settings -> Account Settings
  2. Here you can enter your Google Analytics tag (make sure there are no spaces before, after or between the tag)
  3. Click on Save


Google Analytics will automatically be activated. The data will appear in your analytics tool within 24 hours.




GTM

How to set up the GTM integration?


  1. Go to Settings -> Account Settings
  2. Here you can enter your GTM tag (make sure there are no spaces before, after or between the tag)
  3. Click on Save


Note: GTM will automatically be activated. Note: the events mentioned below will not automatically correctly show up in your analytics dashboard. This needs some configuration first in your Google Tag Manager account. Read 'Tips & tricks' below for more info.


Event format:

As mentioned, we support two types of analytic tools,  Universal Analytics and Google Analytics 4. How to set up the event format based on the analytic tool you use?

  1. Go to Settings -> Account Settings

  2. Select from the dropdown the event format you want

  3. Click on Save

GTM events

Note: There are some differences between the kind of data and their format returned from similar events of Universal Analytics and Google Analytics 4.

Universal Analytics (UA)

Select product

The first event occurs when a planned course is selected. The event is called “selectItem”. This event can be triggered multiple times when the user selects another product on the signup.

The event consists of data about the product that the user has selected.

Checkout

The second event is the “checkout” event, that takes place when the user has completed all the steps of the signup and confirmed the order.



The event contains info of the following data:

- the product (including quantity)

- the type of account: personal or organisation

- the total amount (revenue), tax and currency



Purchase: 


Note: The purchase event is not sent:
- In case you make use of a 'custom thank you page', by configuring a 'Succesfull sign-up URL'.
- In case manually created payments requests are > 15 minutes old.


Finally, we have the “purchase” event that can be triggered with either a payment or an invoice method.

A purchase with a payment method:



A purchase with an invoice method:



Google Analytics 4 (GA4)


Note: For GA4 we respect the format of events from the Google Analytics documentation.


Select product

The first event occurs when a planned course is selected. The event is called “select_item”. This event can be triggered multiple times when the user selects another product on the signup.


Content

  • item_id: ID of the catalog product (template).

  • item_variant: Name of the catalog variant (edition) selected.

    • For a course this is: ‘date - variant - location’ similar to the name shown in Eduframe when you select a course edition.

    • For a program this is the name of the edition in Eduframe.’

  • quantity: 1 - always, because when you select a product, there are no students added yet.

  • price: The price of the catalog variant (edition) selected.

  • location_id: The id of the location selected on a planned course if present.


Checkout

The second event is the “begin_checkout” event, that takes place when the user has completed all the steps of the signup and confirmed the order.

Content

  • currency: The currency selected for you Eduframe account.

  • value: The total cost excluding VAT.

  • items: List of:

  • item_id: ID of the catalog product (template).

  • item_variant: Name of the catalog variant (edition) selected.

    • For a course this is: ‘date - variant - location’ similar to the name shown in Eduframe when you select a course edition.

    • For a program this is the name of the edition in Eduframe.’

  • quantity: Amount of students filled in during the signup.

  • coupon: The discount code filled in.

Purchase

Note: In GA4 the items array in the screenshot below is empty if the users wants to pay using a payment provider.


Note: The purchase event is not sent in case you make use of a 'custom thank you page', by configuring a 'Successful sign-up URL'.


Finally we have the “purchase” event that is triggered every time we have the invoice payment method.



Content

  • transaction_id: ID of the order created.

  • tax: The amount of tax involved in this order.

  • currency: The currency selected for your Eduframe account.

  • value: The total cost excluding VAT.

  • items: List of:

  • item_id: ID of the catalog product (template).

  • item_variant: Name of the catalog variant (edition) selected.

    • For a course this is: ‘date - variant - location’ similar to the name shown in Eduframe when you select a course edition.

    • For a program this is the name of the edition in Eduframe.’

  • quantity: Amount of students filled in during the signup.

  • coupon: The discount code filled in.


Note: We currently only include the discount coupon (if applicable) with GA4.


Note: the info in the event on the product differs per product type (course or program) as these products do not have exactly the same properties. We advise you to use a browser plugin to check the exact information that is contained in the events. See tips & tricks below.


Cross domain tracking

Do you want to measure conversion of your visitors going from your website to Eduframe? This is supported by Eduframe out of the box. To make use of the functionality you need additional configuration on your GA4 and/or GTM tags. Follow's Google's guide for implementation: https://developers.google.com/tag-platform/devguides/cross-domain


Tips & tricks

Google Analytics data will show up directly on your Google Analytics dashboard. For the GTM event data to show up, you need to properly set up GTM in your Google Account to capture and forward the events to the analytics platform of your choice (e.g. Google Analytics, Universal Analytics, Adobe Analytics, etc).



More information


Click here for other Articles around the Settings page in Eduframe



Click here if you have any questions for support.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article