It’s here, it’s here!
SERVER-SIDE TAGGING
#GoogleTagManager
The new Server container is now in public beta. You can create a new container in the Admin section of any Google Tag Manager account you have access to.
My guide:
#measure
THREAD 1/11
So,
#GoogleTagManager
introduced “server-side tagging”, at SuperWeek, which finally gives me a chance to unload some thoughts about it :)
Server-side tagging translates to a new “Server” container running on a cloud VM in your own domain namespace. 1/6
Dear Google Analytics 4.
My latest article is a ranty rant rant about the current state of things, a nostalgic look at the past, and a hopeful look into the future.
#googleanalytics
#measure
🎉
#GoogleTagManager
is 10 years old, happy birthday! 🎉
From "not having to bother IT" to inspiring thousands of digital marketers to learn some JavaScript, GTM has been transformative in our industry of data, analytics, and marketing.
Follow me on this trip down memory lane!
SAVE THE DATE
I’m hosting a FREE webinar on Server-side Tagging for
#GoogleTagManager
on 20 August 2020.
There will be one webinar for APAC timezone (5:30am UTC), one for Europe timezone (11am UTC) and one for North America timezone (7pm UTC).
Please share!
More details soon.
CUSTOM TEMPLATES have finally been released in
#GoogleTagManager
!
This is one of the biggest feature updates to GTM, and I’m pretty excited.
To celebrate, here’s a
#thread
of goodies. Starting with my GUIDE:
But that’s not all! :)
#GTMTips
1/9
Check it out, the Google Analytics Client ID is finally available via the core reporting API as a dimension:
ga:clientId
No need to set a Custom Dimension anymore :)
(Query Explorer doesn’t yet support it, but e.g. the Google Sheets add-on does!)
#measure
@googleanalytics
An amazingly well written description of the upcoming SameSite cookie enforcement in Chrome 80.
If your org makes use of cross-origin cookie access, you’re running out of time to fix before Feb 4.
Via
@troyhunt
So this is something I’ve been working on:
It’s purely for knowledge transfer, no other agenda.
It’s an open-source resource for tracking protection mechanisms implemented by browsers.
Looking for feedback and contributions!
#privacy
#measure
There are issues with Google's Structured Data Testing Tool not interpreting
#GoogleTagManager
Custom HTML Tag JSON-LD snippets.
You can fix this by programmatically adding the JSON LD instead of adding it as a <script> block directly.
#googletagmanager
#seo
Neat, in your Google Analytics 4 Config tags in
#GoogleTagManager
, you can add a variable into the Measurement ID field that returns a comma-separated string of Measurement IDs (e.g. "G-12345,G-23456"). This will allow you to duplicate your GA4 tracking.
#gtmtips
#measure
This, I think, might be very welcome for folks configuring GA4 Ecommerce through
#GoogleTagManager
.
*Finally* you can load the Ecom payload directly from dataLayer (if you follow the GA4 schema) or using a custom object (e.g. custom JS variable or custom variable template)!
A new, free, Google Sheets add-on called "GTM Tools by Simo Ahava". Build documentation from your containers and mass-update notes to your tags, triggers, and variables!
#googletagmanager
@GoogleAnalytics
#measure
One of the biggest updates to Google Analytics, ever. Here’s
@kristaseiden
with all you need to know about the new measurement paradigm: New App + Web Properties in
#GoogleAnalytics
#measure
Once more for the people in the back:
When “third-party” cookies are phased out, Google Analytics (and others) will continue to work just fine. They use “first-party” storage for persisting identifiers.
And stop with this crap about a “cookieless future” thank you.
I guess it’s official now, my
@Facebook
templates for Google Tag Manager are now Facebook’s templates. End users will not have to do anything to the templates, the ownership change doesn’t impact existing deployments.
Two very, very important releases to server-side
#GoogleTagManager
. One of them is arguably *the most important* update to the platform in a long, long, time, and the other opens up a myriad of use cases for data enrichment at scale.
Read on!
Google Analytics 4 finally complements session_start and first_visit events with parameters from the *actual* event they were derived from. No more gaps in the data tables because of parameter-less session_start and first_visit events!
#measure
#googleanalytics
Something
@thyng
and I are working on. An open-source,
#GoogleTagManager
template library with community contributions and review.
Keep the templates coming to . If you want to contribute to the library, ping me in Measure Slack ().
Here's a combination of "ouch" and "WTF" to get you started on this lovely Thursday.
#GoogleAnalytics4
is renaming "Conversions" to "Key events", reserving the former just for Ads conversions.
More info:
h/t
@braiscv
#measure
Here are the recordings of my three webinars on Server-side Tagging for
#GoogleTagManager
, presented on 20 August, 2020.
APAC:
Europe:
North America:
Thanks to all who attended!
#gtmtips
Facebook has released the official partner integration with server-side
#GoogleTagManager
.
This means that you can setup Conversions API tracking via the GTM Server by following the integration steps in Events Manager.
Chrome 85 will strip the referrer string to origin only () when navigating across origins. This is significant for analytics tools as well, which use Referrer for distinguishing between traffic sources.
#measure
#privacy
📢Heads up: in 85, Chrome is changing its default referrer policy to strict-origin-when-cross-origin. By default, no cross-origin leaks of full URLs—and more privacy!
🤔What should you do?
🔹Check what this changes for your site
🔹Set a protective policy
Hot out of the press:
Google Analytics 4: Ecommerce Guide For Google Tag Manager
I've compiled all I know based on the current (beta) implementation of GA4 Ecommerce through
#GoogleTagManager
. I'll update the guide as new features emerge.
#gtmtips
Google Optimize had a good run. I’m sorry to see it go - as an entry-level tool into the CRO world it was invaluable.
Google Optimize and Google Optimize 360 to sunset on September 30, 2023.
I’m now thinking of writing a book that introduces a popular analytics stack to my pre-school kids, I’m thinking of calling it
Google Analytics 4 4 4-year-olds
Happy 10th birthday, ! Career-changing, life-altering, creativity-inducing experience for me. Hopefully I’ll keep it going strong for the next 10 years, too!
Introducing a *completely* reworked Preview mode for
#GoogleTagManager
:
Tag Assistant Preview Mode In Google Tag Manager
It's a pretty big shift from what we had before, so take a look at the article for a walkthrough and intro.
#gtmtips
#measure
If you’re tracking
#GoogleAnalytics4
on a SPA website with
#googletagmanager
, you can update the Google Tag config upon route changes with the “update” field set to “true”. This is crucial for updating page_location and page_referrer for new page states
Upcoming
@GoogleAnalytics
App+Web releases, introduced at
#EmerceGAUC2020
:
- Measurement Protocol v2
- Reporting API
- Management API
And plenty more.
My (simple) open-source Python tools for
@GoogleAnalytics
management:
Check out data_retention.py. It does:
1) Create a list of all the data retention settings across the properties you have access to.
2) Mass update the settings across your properties.
This is so cool! Core Web Vitals + GA4 + Google BigQuery is *chef’s kiss*.
Remember to setup the tracking with
#GoogleTagManager
().
Measure and debug performance with Google Analytics 4 and BigQuery by
@philwalton
and
@_mkazi_
Check out what I consider one of the most fundamental things to learn if you want to master
#GoogleTagManager
: CSS Selector Guide For Google Tag Manager
#measure
#gtmtips
Email: “Could you take a quick look, we have this problem…” & goes on to describe something that requires refactoring entire codebase, reorganization of the company, paradigm shift in the digital industry & re-evaluating the cosmological model.
But yeah, I’ll take a quick look!
OK, I know how the GA4 UX could be solved.
1) Get rid of standard reports.
2) Focus all R&D on Explorations.
3) Create a base set of built-in Exploration templates to cater to marketing analytics needs.
4) Offer more tools for creating, curating & sharing report templates.
The fact that cardinality is happening isn't the issue. Instead, it's how Google's applying it to GA4 reports that's the key issue.
These two reports shouldn't be this different. It causes you to lose all confidence in the standard reports.
Google has FINALLY released two new settings variables for
#GoogleTagManager
:
- Configuration Settings
- Event Settings
They let you apply fields, parameters, and settings across your (Google) tags.
Read more about it in my new blog post!
#measure
This is so cool - you can programmatically build your own User Explorer -type queries with this new GA API:
The granularity it introduces to session parsing is impressive. You can analyze individual paths with more detail now.
#measure
#googleanalytics
Why hello, regular 2-year-expiration _ga
@GoogleAnalytics
cookie in Safari!
AppEngine API + DNS update + hitCallback/cookieUpdate in GA tracker = better data.
Easy to set up - I promise (guide coming up), and CHEAP.
#MCCPH19
I have created a searchable and sortable archive of the
#GoogleTagManager
Google+ community here:
Since G+ is being shut down, this contains an archive of all posts from the history of the community for posterity.
Thanks
@romain_vialard
for the method!
Good news for GA4 / BigQuery fans!
Item-scoped custom parameters are finally in the export! You'll find them in the schema with the repeated field "item_params" under "items".
#googleanalytics4
#bigquery
Screenshot from the
#GoogleTagManager
support community.
This is a despicable practice. Agencies should always create all accounts and containers with the client as the owner/administration. And clients should know to DEMAND this.
Otherwise shit like this happens.
Finally!
#GoogleTagManager
published the Community Template Gallery at (also integrated in GTM).
Here’s the blog post:
Here’s my article with tips for getting started as an author:
#gtmtips
#measure
Do you miss having actually useful ecommerce reports in
#GoogleAnalytics4
now that it's no longer possible to combine item-scoped dimensions with event-scoped metrics?
The default metrics are *quantity*-based, which makes little sense in a funnel analysis.
It's still doable!
Looks like GTM is testing a pre-load event “gtm.init”.
Could be very useful for establishing consent parameters etc. before the rest of the container loads - we’ll see what the impact is!
One of the longest standing feature requests for
#GoogleTagManager
:
BULK ACTIONS and ADVANCED SEARCH.
Check out the overview below. This is a long time coming!
Get deleting, pausing, and foldering those items!
#gtmtips
#measure
As a content creator and a data geek, I find that often my readers are reduced to numbers in a dashboard. It’s easy to forget there are real people with real opinions and expertise behind those anonymous identifiers.
So a heartfelt thank you to readers, commenters, and sharers.
The library has just been updated with an “Install” feature, through which you can directly install a template to your container without having to download it first!
#measure
#googletagmanager
Nice - dataLayer documentation for
#GoogleTagManager
has been updated with instructions for how to get, set, and reset values in GTM’s data model.
#gtmtips
#measure
Finally! We got the Technical Marketing Handbook done and dusted – ready for your critical eyes.
Take a look and dive into the world of technical marketing with this completely FREE online learning resource.
#measure
#marketing
Big NEWS! The Technical Marketing Handbook is now live! 🎉
Now you can dive in and start learning here:
We've poured our hearts into creating this resource, and we can't wait for you to explore it. ❤️
#technicalmarketing
#handbook
#marketingtechnology
I have a newsletter now!
Subscribe, if you will, and I’ll make sure to stuff your mailbox with actionable content from technical marketing, tag management, browser privacy, analytics development, etc.
Please check it out and let me invade your mailbox!
Big news:
#GoogleTagManager
GA4 Config tag is now the “Google Tag”.
Also, THREE new “Settings variables” are released:
- Event Settings variable
- Configuration Settings variable
- User Properties variable
Rolling out soon! And blog post(a) incoming.
Server-side
#GoogleTagManager
is taking huge leaps to reach its full potential.
Today, server-side tagging released TRANSFORMATIONS, a truly ... transformational ... approach to governance with server containers.
Blog post:
#gtmtips
#measure
So useful: opt-out of the "forced" UA -> GA4 migration with a Google Sheet. You can choose property-by-property which ones to opt-out.
Do it.
#googleanalytics4
#measure
Looks like Safari will start reducing 1st party cookie expiry to 1 day when cookie is set on landing page from a tracking domain (, ) and url has non-empty query string or hash (fbclid, gclid).
#measure
#ppc
Folks running Google Analytics 4 through
#GoogleTagManager
, there's no need to go through the clumsy dL.push({ecommerce: null}) () between ecommerce pushes.
Instead, build your "items" variable with this template:
PSA: If you are collecting User IDs to Google Analytics 4 and you want to see them in Google BigQuery exports, do not, I repeat do NOT turn on the "User-provided data" feature in the GA4 admin.
This will DISABLE user_id export to BigQuery with no way to reverse it.
#measure
Getting ready to publish a flood of new content in five or so hours! Sorry about this foreshadowing, but last time I was so excited about new content was five years ago when
#GoogleTagManager
API and version update were released!
It’s been a long time coming and it’s finally here. Format
#GoogleTagManager
variable output (change case, convert falsy values to strings, etc.) json Format Values feature. Very handy for output normalization!
Shameless plug but I’m super proud to announce I’ve redone much of my Advanced Google Tag Manager course at
@conversionxl
Institute!
The lessons are more bite-sized and the topics are hand-picked by yours truly.
#gtmtips
#googletagmanager
Ever wondered what happens when
@GoogleAnalytics
flags your property for PII (Personally Identifiable Information)? You get served with a Data Deletion Request, which lets you explain what happened. If you approve the PII flag, only the violating fields are removed.
#measure
Today marks 10 years of marriage with my love, my friend, the most loving mother to our children, and my business partner. Yes they’re all the same person. The wonderful
@AhavaMari
❤️
Google has released a new developer site (still in public beta) that combines documentation for both gtag.js and Google Tag Manager:
It’s definitely worth a look!
#measure
#gtmtips
#googleanalytics
Tag and variable templates will be a huge, sprawling, paradigm-shifting feature release for
#googletagmanager
in 2019. Not since the API was released have I been this excited.
As always, a guide is on the way. I’m at 10000 words and barely scratched the surface. So much stuff!
Yay!
#GoogleTagManager
now lets you do BULK ACTIONS with Triggers!
You can add/edit/remove triggers (and exceptions) for multiple tags at the same time.
This is a LIFESAVER for large containers!
Check out the article for details.
#measure
#gtmtips
I emphatically agree. Moving back to session cookies, having modified events propagate via the client, and calculating key events (e.g. session_start and first_visit) from client-side params is not how an analytics tool in the 2020s should work…
GA4 is the wrong move, at the wrong time. It moves processing from the server to the client side–which is exactly the opposite of the industry trend and what is good for users. Google should definitely reconsider this change.
My slides from
#SuperWeek
2020:
The presentation details the past, present, and future of browser tracking protection/prevention mechanisms. The information is based on research published on .
#privacy
#measure
New article!
#GoogleTagManager
server-side tagging now officially supports GOOGLE ADS Conversion tracking!
In this guide, I walk you through the steps on how to enable it for your conversion tracking.
#measure
#ppc
I’m coding a new, cool feature for , just finishing a guide on Enhanced Ecommerce for Google Tag Manager, and all the while thinking of all my good friends at
#MeasureCamp
London today.
Tired of manually adding dozens of rows to a
#GoogleTagManager
Lookup Table?
New guide:
Build A Lookup Table Generator For Google Tag Manager
Utilize the power of Google Sheets + Google Apps Script + GTM API.
#gtmtips
#measure
@googleanalytics
I'm leaving
@ReaktorNow
with a heavy heart (they are, after all, the best employer I have ever worked for), and joining the flock of 8-bit-sheep. I can't wait to see what the future holds for me!
New tool!: Check out my **customTask Builder** Use it to compile a customTask script that will take your
@GoogleAnalytics
tracking to the proverbial next level.
#measure
#gtmtips
Four new
#GoogleTagManager
tag templates in :
- Coveo Load and Event tags
- Cliengo Chatbot loader
- LinkedIn Event Pixel
Submit your own with Pull Requests! You’ll get code review and comments from helpful volunteers :)
#GTMTips
This is so very, very cool. BigQuery Export is now a fully functional feature of
@GoogleAnalytics
App+Web, and it includes Streaming Export (latency of *seconds*) as well!
No license costs, either! Check out
@CharlesFarina
excellent overview: