Are you a team from Google Kraków?
Yes. Easy Tag is the spin-off of the Italian team that worked on tags in Kraków. The story is told on About.
A short answer here. The full guide is the link at the top of each group; if a container exists, the answer points to the product page.
Prices VAT included and JSON delivery after payment. The catalog is in the Shop.
Yes. Easy Tag is the spin-off of the Italian team that worked on tags in Kraków. The story is told on About.
The Google Tag Manager container JSON file and the instructions, by email. Ready-made containers are in the Shop.
Yes. All listed prices are VAT included.
E-commerce, Dynamic Remarketing and Consent Mode depend on the CMS and the data layer. The product pages are E-commerce Tracker, Dynamic Remarketing and Consent Mode v2.
What window.dataLayer is and why it must not be reassigned. Guide: DataLayer architecture.
The dataLayer is a global JavaScript array, by default window.dataLayer, that passes variables and events from the page to Google Tag Manager and to gtag.js.
To create the array only if it does not exist, without deleting pushes that are already there. GTM and gtag.js then find a valid instance at startup. The Google Tag Manager snippet must load after this line, as described in the installation section of this guide.
You break the reference on which GTM and gtag.js attached listeners and the internal queue.
{}: the dataLayer is an array, not a map.Message order and the role of the event key. Guide: DataLayer architecture.
With a FIFO queue (First-In, First-Out): pushes are read one at a time, in arrival order. If the message contains event, Google Tag Manager evaluates the triggers and fires the linked tags before moving to the next message.
Execution is asynchronous relative to events already in the queue. A variable written without event may not be visible yet when the next event fires. To stay in sync, always send a dedicated event key and use a Custom Event trigger. That is how Phone Click Tracking and the Email Tag publish the click.
Because it duplicates the tag lifecycle, can conflict on the queue and on gtag(), and skips GTM's native controls, including consent. Use the native tag templates for Google Ads, Google Analytics 4 and Floodlight.
With one object: dataLayer.push({event: 'customize', color: 'red', conversionValue: 50}). All keys enter the dataLayer state and can be read by tags fired by that event. Do not split the value and the event name into two different pushes.
The new value overwrites the previous one in the current state, from that point in the queue onward. Messages already processed are not rewritten.
They remain available for the whole time spent on that page, until you overwrite them or reset the state. Across pages they must be published again on every load, with the same name: visitorType on one page and visitor_type on another are two different keys.
If you pass a function to dataLayer.push(function(){ ... }), this points to GTM's abstract data model (this.set, this.get, this.reset). gtag(function(){ ... }) is not a valid command: the function is ignored.
Data model methods and syntax errors on the push. Guide: DataLayer architecture.
It clears the state accumulated in the data model. It is useful on pages that stay open for a long time and in single-page applications, so you do not carry values from the previous view. The SPA pageview must then be sent again as described in the Google Analytics 4 guide.
They read and write key-value pairs on the abstract data model, in a controlled way. Example: this.set('time', new Date()) and, in a later step, this.get('time'). They do not replace a dataLayer.push with event when you need to fire a tag.
Yes. Change the array name in the snippet, pass l=myNewName in the GTM script URL and align every call to window.myNewName.push(...). If even one integration keeps writing to dataLayer, events split across two queues.
datalayer.push instead of dataLayer.push (the L is uppercase).new-variable, written without quotes.One array per page, Tag Assistant and network domains. Guide: DataLayer architecture.
With Google Tag Assistant on tagassistant.google.com, or with Google Tag Manager Preview mode. For each event in sequence you see the dataLayer values and the consent state. Consent is covered in more depth in the Consent Mode guide.
It is a single JavaScript framework that collects data and routes it to multiple destinations: Google Ads, Google Analytics, Floodlight and others, through a TAG_ID or linked configurations. In a GTM container the same role is played by native tags, not by a second copy of gtag pasted on the page.
It tells the loader which kind of container it is starting and which permissions to apply.
GTM- is a Google Tag Manager container.G- is a Google Analytics 4 property.AW- is a Google Ads account.Google is moving destination configuration into the Google Tag Manager interface and, on the page, toward gtag('set', ...). A gtag('config') that is already published stays backward compatible: do not remove it mid-migration without a measurement plan.
You can centralize shared parameters and send an event only to some destinations, for example a Measurement ID G- or an account AW-, instead of sending everything everywhere. It is the same principle as the send_to parameter explained in the Google Ads native tag guide.
Filter requests by domain.
googletagmanager.com loads the container.google-analytics.com or analytics.google.com carry GA4 hits.googleadservices.com and Google advertising domains carry Ads.doubleclick.net appears with Floodlight.In the browser you see requests to your tagging endpoint, usually a first-party subdomain. Hits to the final Google Ads and Google Analytics servers leave from the server container, not from the user's browser.
It is a setup that routes tag requests through a first-party path you control. It makes measurement more continuous when the browser limits third-party scripts, always in line with Consent Mode.
AMP has native components for tags and for GTM, with their own limits. GTM for AMP does not cover Google Analytics the way the web does: you need dedicated AMP snippets and you must check that cid and gclid are passed to non-AMP pages.
With data filters or dedicated exclusions, so automatic CMS events and internal traffic do not inflate sessions and conversions. The funnel you want to read in reports is the E-commerce Tracker's, not the theme's test funnel.
A single array keeps one timeline. Two separate queues make a tag read missing or stale values. The same applies when GA4, Google Ads and the Consent Mode v2 tag live on the same page.
Automatic, enhanced measurement, recommended and custom. Guide: Google Analytics 4.
They are four levels, from the most generic to the most specific to you.
Enhanced measurement does not replace the E-commerce Tracker funnel.
Because the Google tag configuration sends a page_view hit by default, unless you turn it off with send_page_view: false. You turn it off in SPAs and when the dataLayer publishes the pageview, as explained in the DataLayer guide.
Syntax: gtag('event', 'event_name', { parameter: value }). The second argument is the event name. The third is an object of event parameters or of routing toward a destination.
Key events, purchase and the items array. Product: E-commerce Tracker.
Event parameters describe that single occurrence: currency, value, transaction_id, search_term. User properties describe who performs the action and persist on later interactions: plan, customer type, region.
You send the event with the correct name and parameters, then mark it as a key event in the GA4 property. Typical names: purchase, generate_lead, sign_up. For phone, email and WhatsApp the signal comes from the Phone Click Tracking, Email Tag and Contacts 3-in-1 containers.
transaction_id, unique, so the same order is not counted twice.value, a number, not a string.currency, a three-letter ISO code, for example EUR.items, with item_id, item_name, price, quantity.They are the same fields as the E-commerce Tracker.
Because GA4 deduplicates orders with the same id. A reload of the thank-you page or a double send must not become two purchases.
It is a list of objects. Each object is an item of the action (view_item, add_to_cart, begin_checkout, purchase). Useful fields: item_id, item_name, item_brand, item_category, price, quantity, index.
view_item_list measures the view of a grid or category, with item_list_id and item_list_name. select_item measures the click on an item in that list, before the product page.
In sequence, published by the dataLayer and not by theme CSS selectors:
view_itemadd_to_cartview_cartbegin_checkoutadd_shipping_info and add_payment_infopurchaseThe package that covers them is the E-commerce Tracker. The data layer is in the DataLayer guide.
Reports and monetary metrics may add the value incorrectly or drop it. value, price and quantity must be sent as numbers.
With the refund event and the same transaction_id as the original order, plus currency and the refunded value, or items if the refund is partial.
Leads, single-page applications and personal data you must not send. Guide: Google Analytics 4.
With recommended events: generate_lead (also with currency and an estimated value) and, in qualification flows, qualify_lead or close_lead. The click on phone, mailto and WhatsApp stays its own event: see Contacts 3-in-1.
You turn off the automatic page_view if the first hit would be a duplicate, and you send a page_view on every view change with updated page_location and page_title. In GTM the same result comes from a dataLayer.push with a dedicated event. Installation detail: DataLayer.
In the native tag you map parameters and variables in the interface, usually after a dataLayer.push. With gtag('event', ...) the call lives in the page script. Together, on the same event, they duplicate hits.
You sanitize upstream, before the push. No email, phone or other identifying data in URLs, event names or parameters. Consent on these flows is in the Consent Mode guide.
GA4 receives the parameter immediately, but you see it in reports and explorations only after you create the custom dimension or metric in the property.
file_download with enhanced measurement, or a dedicated event with file_name, file_extension, link_url.form_start and form_submit, or a custom event only on a confirmed submit, not on a simple button click.snake_case, no spaces.ga_, google_, firebase_.With DebugView in Google Analytics, together with Tag Manager Preview or Tag Assistant. You check the single event and every attached parameter, not only the report total.
If the properties are linked and advertising signals are allowed, GA4 events and audiences are imported into Google Ads for bidding and remarketing. Product remarketing, with feed ids, is Dynamic Remarketing, also explained in the Google Ads native tag.
Without a queue or without Consent Mode the hit can be dropped, or it can fire with a restrictive consent state. With GTM or gtag and Consent Mode, the request follows the applied state.
By routing each tag to its own Measurement ID G-XXXX, based on the trigger or the destination parameter. The queue stays one; the destinations do not.
So that purchase or sign_up is read as the same action on web and app. Different names split funnels and audiences.
Write the taxonomy first: only events that serve analysis, funnels, conversions or bidding. Attributes go in parameters, not in ten almost identical event names.
Conversion, dynamic remarketing and send_to. Guide: Google Ads native tag.
The conversion records a valuable action (purchase, lead, call, signup) and feeds reports and bidding, for example Target CPA or Target ROAS. Remarketing collects browsing or product signals to build audiences. The catalog case is Dynamic Remarketing.
With gtag('event', 'conversion', { send_to: 'AW-CONVERSION_ID/CONVERSION_LABEL', value: 0, currency: 'EUR', transaction_id: '...' }). In GTM the same send is done with the native tag, not with custom HTML.
It indicates the AW-... account and the conversion label the action should be attributed to. Without a precise send_to, a site with multiple accounts sends the signal to the wrong destination.
On purchases and on any action the user can repeat by reloading the page. The same id stops the thank-you page from counting two conversions.
They add user-provided data (email, phone, name, address) to the conversion tag, processed according to Google's specifications, to recover conversions the cookie alone does not see. They must not be put in the clear in GA4 parameters. Advertising consent is in Consent Mode.
With a User-provided data variable linked to the Google tag, and with the Google Ads User-provided Data Event tag in the server container, using the correct Conversion ID.
Standard remarketing uses lists of visited pages. Dynamic remarketing sends catalog parameters (value, currency, items with id and google_business_vertical) to show the items viewed or abandoned. That is the scope of Dynamic Remarketing.
send_to toward the correct Ads destination.value and currency.items, and in each element an id identical to the Merchant Center feed product id.google_business_vertical, for retail usually retail.Google Ads does not match the user to the catalog item. The dynamic ad is not personalized, or it uses a generic fallback.
Native templates format the parameters, talk to the Conversion Linker, respect Consent Mode and stay aligned with the latest Ads features. Custom HTML reinvents those things, and usually breaks them.
Value, transaction_id and ads consent. Guide: Google Ads native tag.
Keep a single system, preferably GTM with native tags, and remove the other send of the same event on the same trigger. Two tags on the same thank-you page count two conversions.
The trigger must listen for a dataLayer event emitted only after confirmation: for example form_submitted or phone_click. The ready-made container for the number is Phone Click Tracking; for phone, email and WhatsApp together, Contacts 3-in-1.
They measure the economic return of the conversion and feed value-based strategies: Maximize conversion value and Target ROAS. Without a currency, the value is not comparable.
For ecommerce and quotes the calculated value sits in the dataLayer, transaction by transaction: that is the E-commerce Tracker case. For a lead with a constant value you set a fixed amount on the Ads conversion, and you repeat it identically.
The native tag sends the signal directly to Google Ads, with Conversion Linker and enhanced conversions. The GA4 import depends on the key event and on the link between the two products, and it is less suitable when you need the first-party ad click. The native tag model is the subject of this guide.
In GTM Preview or in Tag Assistant you check triggers, variables and the consent state. In Network you look for requests to Google advertising domains, not only the green tag name.
value or transaction_id leave empty. Value, currency and id must be in the same dataLayer.push object that emits the event, or already in the state before that push. The queue is explained in the DataLayer guide.
With Consent Mode: ad_storage, ad_user_data for user data used in advertising, ad_personalization for remarketing and personalized ads. The detail of the default and update commands is in the Consent Mode guide. The package is Consent Mode v2.
Yes. send_to on the tag or on the event limits the destination to that account and that label. Other accounts linked on the page do not receive that conversion.
A tag present across the whole site keeps first-party cookies and identifiers along the session. Without it, the Conversion Linker does not see the click on the landing page and attribution gets shorter.
What the linker is for and why the first-party cookie holds measurement up. Guide: Google Ads native tag.
It stores ad-click data, such as the gclid, in a first-party cookie, so the conversion tag can find it when the action happens, even pages later.
Browsers block or shorten third-party cookies. Saving the click on the site's domain makes the conversion readable without that third-party cookie.
On all of them, with an All Pages trigger. Any landing page that receives an ad click must be able to save the parameter immediately.
In the server container the Conversion Linker tag, usually on All Pages, writes and reads the first-party cookies tied to the tagging server's domain.
A first-party cookie is set by the domain of the page you are visiting. A third-party cookie is set by a domain different from the page's domain.
They belong to the site being visited and escape the general block on third-party cookies. They remain subject to consent and to expiry limits imposed by the browser.
With ITP and duration caps, with wrong attributes (Domain, Path, SameSite, Secure) and with consent denied on analytics_storage or ad_storage. See Consent Mode.
If analytics_storage is granted, GA4 reads and writes first-party cookies to recognize the user and the session. If it is denied, it does not use that storage to identify them. Events guide: Google Analytics 4.
The linker and advertising tags store the click in first-party storage. If ad_storage is denied, that write is limited and the conversion cannot rely on the advertising cookie.
It combines first-party signals, linker parameters in the URL, Consent Mode and modeling. It is not a way to ignore a refusal: it is continuity of measurement inside the consent state.
Domain, the _gl parameter and redirects that drop the query. Guide: Google Ads native tag.
It is needed when the journey crosses two distinct domains, for example the site and an external checkout, and you want the same session instead of a new user or a self-referral.
www.example.com and shop.example.com share the parent domain and, if the cookie is set on .example.com, the first-party cookies too. domain-a.com and domain-b.com do not: link decoration is required.
It decorates outbound links and forms with a _gl parameter. The destination domain reads it and saves the state in its own first-party cookies.
_gl as well.In a private window, or after clearing cookies, you check that cid and any gclid travel in the _gl parameter and match on the final page. Redirects in between are the first point that breaks.
If the redirect does not keep the query string, gclid and _gl are lost. The chain must be tested on the real arrival URL, not only on the original link.
In developer tools: the Application tab, the Cookies list, and the Network tab to see domain, expiry and request payloads.
window.dataLayer only once, at the top, without reassigning it. Guide: DataLayer.default before the tags and update from the CMP. Guide: Consent Mode.If there is no internal time, the scope is the Shop and the 5-hour support, 10 hours or 20 hours packages.
Initial state and the update from the CMP, before tags fire. Guide: Consent Mode.
It is the way Google tags receive the consent state and adapt cookies, identifiers and pings. It does not replace the banner: it reads the choice the banner collected. The implementation package is Consent Mode v2.
ad_storage: advertising storage.analytics_storage: analytics storage.ad_user_data: user data for advertising purposes.ad_personalization: ad personalization and remarketing.functionality_storage, personalization_storage, security_storage.default is the initial state, before tags fire. In regions that require prior consent it is often denied. update arrives when the person accepts or refuses in the CMP and replaces that state.
Because a tag that fires before default can write cookies that conflict with the initial choice. Tags on the same event must read a single, consistent state. The order relative to the queue is that of the DataLayer.
Custom HTML fires at a moment that is not aligned with the queue and with tag evaluation. Use GTM's consent APIs or gtag('consent', ...) and the CMP integration.
With the consent APIs and with the controls already present in native tag templates. The update is processed in the correct order relative to queued messages, not whenever it happens.
What happens when storage is denied and how to read it in Tag Assistant. Product page: Consent Mode v2.
Google Analytics 4 tags cannot read or write the analytics cookies used to recognize the user and the session. Cookieless pings may remain, depending on the Consent Mode configuration.
Advertising storage, the sending of user data for ads purposes, or personalization, including remarketing, is limited. Google Ads tags stay compliant with the choice. Modeling, where provided, is not the same as ignoring the refusal.
It is the system that collects and stores the choice. It integrates with GTM or gtag.js by emitting default and update, and optionally TCF v2.2. Without this bridge, the banner and the tags do not talk to each other: that is the problem Consent Mode v2 closes.
Strings or purposes that are not aligned, a CMP that arrives after the tags, TCF support turned on only halfway in Google tags. Tag Assistant shows the state that was actually read, not the one the plugin promised.
In the timeline, for each event, you read Default and Update for every parameter. A tag must not fire with a state different from the rules set for that moment.
The state also travels to the server container. Tags that fire from the server must respect the same choice, not a second policy.