Configuration settings
To configure the Google Tag Manager extension, navigate to Stores -> Settings -> Configuration -> Mirasvit Extensions -> Google Tag Manager.
Google Tag Manager
Integrating Google Tag Manager enables seamless data tracking, helping you manage tags efficiently for better insights into customer behavior, improving marketing strategies, and driving growth.
-
Enable GTM: activates the core GTM functionality, allowing your Magento store to integrate with Google Tag Manager for advanced tracking and analytics.
-
GTM regular code: core script that enables Google Tag Manager on your site, ensuring the capture of visitor data to boost marketing efforts and site performance.
-
GTM no-script code: ensures you don’t miss any tracking by capturing data even from users with JavaScript disabled, giving you a more complete view of your audience.
The old per-module "Enable GTM logging" option has been replaced by the shared Debug mode setting, which powers an on-page debug toolbar and writes events to var/log/mirasvit_tm.log. See How to use the frontend debug panel.
Container import
With pre-configured container imports, you can easily connect your store to Google Analytics 4 and ensure fast, accurate tracking, enabling more efficient analysis of customer data and better marketing decisions.
-
Google Tag Manager: account ID: links your store to your GTM account for streamlined management of tracking and tags, making data-driven marketing more accessible. https://support.google.com/tagmanager/answer/6103696
-
Google Tag Manager: container ID: identifies your store’s GTM container to ensure precise tracking of customer interactions for more insightful reporting. https://support.google.com/tagmanager/answer/6103696
-
Google Analytics 4: measurement ID: connects your store to GA4, allowing detailed event-based tracking for enhanced reporting and analysis of customer behavior. https://support.google.com/analytics/answer/12270356
-
Download import file for Google Analytics 4: speeds up GA4 implementation by providing pre-configured tags and triggers, saving time while ensuring accurate tracking. https://support.google.com/tagmanager/answer/6106997
Google Ads
Integrating Google Ads conversion tracking allows you to measure the direct impact of your advertising efforts, optimizing ROI, and delivering more personalized, relevant ads to your audience.
-
Conversion ID: tracks conversions from Google Ads, ensuring precise measurement of ad performance and enabling optimized ad spending. https://support.google.com/tagmanager/answer/6106960?hl=en
-
Conversion label: differentiates conversion actions in Google Ads, giving you deeper insights into which campaigns are driving results and improving overall performance tracking. https://support.google.com/tagmanager/answer/6106960?hl=en
-
Dynamic remarketing with Google Analytics: allows you to deliver personalized ads to users based on their previous interactions with your site, boosting engagement and conversions. https://developers.google.com/tag-platform/devguides/dynamic-remarketing#dynamic_remarketing_with_google_analytics
-
Google business vertical: adds the
google_business_verticalvalue to the dynamic-remarketing dataLayer event. It is required by Google to correlate site events with your Merchant Center feed. Shown when dynamic remarketing is enabled. -
Download import file for Google Ads conversion: simplifies the setup of Google Ads conversion tracking by offering pre-built import files for easy and fast implementation. https://support.google.com/tagmanager/answer/6106997
Admin operations tracking
Admin operations tracking provides visibility into refunds and admin orders, offering key insights to optimize customer service and improve operational efficiency for a more seamless shopping experience.
-
Tracking refund: tracks refunds processed in the admin panel, helping you monitor patterns and improve customer service to build trust and loyalty. Refunds are sent automatically server-side via the GA4 Measurement Protocol when a credit memo is created - no CLI command or cron job is required.
-
Tracking admin order: tracks orders placed manually by administrators, ensuring complete customer lifecycle visibility for more comprehensive reporting.
-
GA API secret: provides the necessary API secret to connect your store with Google Analytics for enhanced tracking and reporting of admin operations.
Shared Marketing tracking settings
Event-level behavior - the product identifier, customer group tracking, attribute mapping (brand, variants, custom dimensions), the on-page debug toolbar, and the option to suppress tracking for selected visitors - is configured once for all Mirasvit tracking extensions under Marketing tracking, not in the Google Tag Manager section. See Shared tracking settings.