You open GTM Preview and there’s an event you never pushed, called gtag.config, and one of your tags fired on it. Or a tag that used to fire once per interaction is now firing one extra time on page load.
That’s most likely a gtag.config dataLayer event wildcard trigger problem. Google changed how Tag Manager containers handle gtag config commands, and if you have a Custom Event trigger that matches any event name, it can now match this one too. The check takes about five minutes.
Why a new event in the dataLayer can fire your tags
Google’s release notes for 8 October 2026 say that all gtm.js container snippets now initialize on container load, regardless of any gtag('config') commands. As a side effect, config commands now show up in the dataLayer as visible gtag.config events. Google also says that if your containers use wildcard custom event triggers, this may cause those tags to fire. You can read it in the Tag Manager release notes.
Here’s why that matters. A Custom Event trigger listens for dataLayer pushes that carry an event key. If the trigger’s event name is a plain string like generate_lead, nothing changes. But if you ticked “Use regex matching” and typed .*, or a loose pattern like .+ or gtag, the new event qualifies. Any tag attached to that trigger runs.
I’ve seen wildcard triggers used on purpose (a logging tag that records every event) and by accident (copied from an old container and forgotten). The accidental ones are the risk.
Find gtag.config events in GTM Preview and the dataLayer
Start by confirming the event is really there, and note where it appears.
Check in GTM Preview
- In your container, click Preview and enter your site URL.
- In the Tag Assistant window, look at the left-hand event list. Find any entry named
gtag.config. - Click it and open the Tags tab. “Tags Fired” shows what ran on it. Anything listed there that you didn’t plan for is a suspect.
- Open the Data Layer tab to see the message itself.
Check in the browser console
On your live site, open the console and run this:
window.dataLayer = window.dataLayer || [];
console.log(window.dataLayer.filter(function (item) {
return item && item.event === 'gtag.config';
}));
I wouldn’t be surprised if it returns nothing on a page that doesn’t use a config command. The event only appears where a config command runs, so check a few templates: home page, a product or service page, and your checkout or thank-you page.
Check which triggers match the wildcard
Now find every trigger that could match. Don’t rely on memory.
- In GTM go to Triggers and sort by type. Look at every trigger of type Custom Event.
- Open each one. Look at the event name field and whether “Use regex matching” is ticked.
- Flag anything with
.*,.+, or a pattern with no anchors, such asclickorform. Unanchored patterns match any event name that contains that text. - Click the trigger’s name, then use the “Tags” list in the trigger overview to see which tags use it.
Also check triggers that aren’t Custom Event. A tag with “All Pages” wouldn’t be touched by this change, because it listens to page view events, not dataLayer event names. So you’re really only auditing one trigger type.
Write down the list: trigger name, pattern, tags attached. For most small sites it’s two or three rows.
Tighten the trigger with an exact event name or a regex
For each flagged trigger, ask what you actually want it to fire on. Then pick one of two fixes.
Option 1: use an exact event name
If the tag is meant to fire on one event, say add_to_cart, untick “Use regex matching” and type that name. This is my default. It’s the simplest to read and the hardest to break.
Option 2: anchor a regex
If you need several events, list them and anchor the pattern so nothing else slips in:
^(add_to_cart|begin_checkout|purchase)$
The ^ and $ mean the whole event name must match. Without them, a pattern like purchase would also match purchase_refund, or any future event with that text in it.
Option 3: block the event as an exception
If you really do need a broad pattern, add the exclusion on the tag instead. Open the tag, scroll to Triggering, then Add Exception, and create a Custom Event trigger with the event name gtag.config. Say the tag is a logging tag that should record everything except config commands. The exception keeps the wildcard but skips the new event. I use this only when rewriting the pattern isn’t practical.
Test the fix with GTM Preview and GA4 DebugView
Don’t publish on a hunch. Run these checks in order.
- Start Preview again and reload the page. Click
gtag.configin the event list. Tags Fired should no longer show the tag you fixed. - Trigger the real event, such as adding an item to the cart or submitting the form. Confirm the tag still fires once on it.
- Open GA4, go to Admin, then DebugView. With Preview running, your device appears automatically. Check that the events you expect arrive, and that no stray event, or a duplicate, appears on page load.
- Open the browser’s network tab and filter for
collect. Count the requests on page load. An extra hit at load time usually means a tag is still matching. - Publish, then check the Realtime report for a few minutes.
If you’ve got a GA4 event tag firing on a wildcard, look at the event counts after a day or two. A jump in a single event name, or in total event volume, after 9 November is a good sign something matched. I can’t tell you the size for your site. Compare against a week before the change.
When to leave the wildcard alone
Not every wildcard needs fixing. If a tag is meant to react to every dataLayer event and that tag can’t do harm, leave it. A debug tag in a staging container is fine. So is a custom HTML tag that only copies events into a console log.
I’d fix it if the tag sends data anywhere: GA4, Google Ads, Meta, or a server container. Extra events cost you clean reports, and extra conversion hits can cost you money.
One more case. If your site has a mix of old and new snippets, the event may only appear on some pages. Google says to make sure all pages use the Google tag snippet if you continue to use gtag configuration code. Check that before you spend time chasing a pattern that only misbehaves on one template.
What to do next
- Open GTM Preview on three page types and look for
gtag.config. - List every Custom Event trigger that uses regex matching.
- Replace loose patterns with exact names or anchored regex.
- Test in Preview and DebugView, then publish.
- Read the related post on the Google tag becoming a Tag Manager container, since the same release cycle changes more than this one event.
If you’d rather have someone audit your triggers and make sure nothing is double firing, I’m happy to look at your container. You can reach me through The GTM Guy contact page.