GTM is a container for "tags", and a common setup is to setup the GTM container with a Google Analytics 4 (GA4) tag. This will direct event data to a Google Analytics project. Visit https://support.google.com/tagmanager/answer/9442095 for more information.
GTM is simple and straight-forward to setup in the Prenly web reader.
In Android and iOS apps, the Firebase SDK (built by Google), is used to deliver event data to the GTM container. This needs to be activated within the app's program code, which implies that a a new app version must be compiled and released before events will be sent.
Also note that the Android and iOS Firebase SDK:s do not allow sending data to more than one GTM container, Therefore, it is not possible to setup more than one GTM integration for a single Prenly client.
You need to setup this according to Google's instructions.
The following configuration parameters are set up in Prenly Workspace.
The site ID configured in the Matomo server, as an integer.
Example: "GTM-A1B2C3D"
If using a custom server-side GTM, this is where statistical data will be sent.
Example: “https://my-servers-side-gtm.com/"
This will change the name of the JavaScript data layer object when using GTM in a web reader application. It is applicable if using more than one GTM container simulteneaously.
Example: "myDataLayer"