Suppose you're looking for a more flexible and advanced way to manage analytics and other tags on your website. In that case, Google Tag Manager (GTM) can serve as a fantastic enhancement to the capabilities of Google Analytics 4.
GTM is a versatile tool that allows you to manage and customize JavaScript and HTML tags on your website without modifying your site's code. In addition, its central control panel can handle various analytics and marketing services. With GTM, you can track events in detail, including user interactions with the site and the EasyWeek widget.
Connecting to Google Tag Manager
For a comprehensive understanding of GTM's capabilities and setup, please take a look at the tool's official portal. On the side of EasyWeek, minimal actions are required, which are reviewed further.
Automatic detection
When the EasyWeek widget is embedded into a website where you have previously set up integration with Tag Manager, it will automatically identify and utilize the GTM connection code to transmit events.
For a new installation, use the manual settings.
Manual settings
- Sign in to your Google Tag Manager account and create a new site container.
- Copy the ID found on the container settings page:
- In your EasyWeek account, open the Integrations page, scroll to Google Tag Manager, or use the search.
- Paste the copied code into the top field for site-level activation and/or into the field Manually set GTM code to use in the widget:
Automatic event tracking
Upon successful integration of Google Tag Manager and EasyWeek, you'll be able to configure the tracking of various events within your website and widget. Such events may include actions like service booking, widget page navigation, and more.
Adding Tags
Tags are measurement codes and related code fragments of code incorporated into a website's structure. They collect user behavior data and their interactions with different website elements and pack this information as easily interpretable analytics. GTM's main advantage is the convenience of implementing and editing tags without the need to rewrite the website's code.
Tags are added in the container settings through the New Tag card. Numerous native and third-party services are supported:
Tag Assistant debug mode
One of the important visual customization tools inside the Tag Manager is website activity tracking.
- Go to container settings and click Preview.
- Enter the name of the site and hit Connect.
- Your site will open in a new browser window. A panel will appear at the bottom of the page, showing which tags are triggered on the page.
-
The system will record all actions on the site as distinct analytics codes:
- Upon completing the tracking information collection, you'll be able to evaluate the sequence of actions and determine if 'Tags Fired' or 'Tags Not Fired' in the given behavior scenario:
Additional Tips
- The actions detailed in this article need to be carried out on the EasyWeek side to link with Google Tag Manager. For a comprehensive overview of this system and solutions to other setup and usage queries, we highly recommend referring to the official help documentation.
- Ad blockers can sometimes interfere with the operation of Tag Manager. We suggest disabling them in accordance with this article or the instructions specific to your browser's content blocker.
- The list of events sent to analytics from EasyWeek can be found here.