Google Tag Manager is an analytics and monitoring integration we offer, simplifying the management of tags on your site, such as those for tracking and marketing optimization. Through the Google Tag Manager interface, you can easily add and update tags like AdWords, Google Analytics, Floodlight, and even non-Google tags without needing to alter your site’s code. This tool empowers marketers to effortlessly implement and update website tags—including conversion tracking, site analytics, and remarketing—with just a few clicks, eliminating the need for direct code modifications.
By using automation with the advanced setting of Google Tag Manager integrations, you can create and customize events sent to Google Tag Manager. To start, you will need to enable server-side tagging for your Google Tag Manager integration. Note that while using the server-side GTM software is free, you will need to pay for the usage of the required cloud service.
In this article, we will walk you through setting up automations and enabling the necessary settings to send custom events for use in Google Tag Manager.
Create your Automation
The most important part is that you need to set up Automations: Within LearnWorlds, you can create automations that are triggered by specific user actions. For example, you could set up an automation to trigger when a student completes a course.
Navigate to Users → Automations and create a new automation.
You have the option to use only if conditions with your automations related to GDPR. You can choose to send those data only if the user has accepted cookies or if they are subscribed to marketing emails.
Before completing your automation make sure that your integration is activated so the flow can work properly. Navigate to Integrations → Analytics, Enable server side events, and paste the default URL created in your GTM account and the Activation path.
To set up your Tag Manager follow the steps here. Once you have set up your tag manager, follow these steps to import your Google Tags:
1. Navigate here (using your Google Account) to create a container for your LearnWorlds school.
2. In the Container name field, enter a descriptive name for your container, select Server, and click on Create.
3. Choose “Automatically provision tagging server”.
4. Choose your billing account.
5. Copy the default URL. Also, /mp/collect should be filled in the second row.
6. Navigate back to your school and paste the default URL on the respective field (first row). On the second field add " /mp/collect".
You can now leverage automations to send any type of event you desire on Google Tag manager and utilize it for your campaigns.