Simo Ahava

simoahava.com · Personal blog · on HN since 2017

Simo Ahava writes detailed guides on Google Tag Manager, Google Analytics, server-side tagging, and browser tracking prevention.

What HN saysCommenters call him an absolute legend for Google Tag Manager and Analytics, with no comparable site. His server-side tagging guides come up in tracking-blocking threads.
17HN people shared it
10linked it in comments
10stories submitted
310story points
3 years agolast shared
2017people per year2026

Most-shared posts

  1. 1
  2. 2
    Server-Side Tagging in Google Tag Manager
    2 people · 1 points · first shared 2020 · 2 comments on HN
  3. 3
    Custom gtm loader server side tagging
    2 people · first shared 2022
  4. 4
    Deploy server side google tag manager aws
    2 people · first shared 2022
  5. 5
    No, Safari 14 does not block Google Analytics
    1 people · 250 points · first shared 2020 · 68 comments on HN
  6. 6
    One Tag to Rule Them All: Introducing the New Google Tag
    1 people · 48 points · first shared 2022 · 31 comments on HN
  7. 7
    Install Snowplow Analytics on the Google Cloud Platform
    1 people · 3 points · first shared 2018 · 3 comments on HN
  8. 8
    Dear Google Analytics 4
    1 people · 1 points · first shared 2023 · discussion on HN
  9. 9
    Track Form Abandonment with Google Tag Manager(2015)
    1 people · 1 points · first shared 2019 · discussion on HN
  10. 10
    ITP 2.1 and Web Analytics
    1 people · 1 points · first shared 2022 · discussion on HN
  11. 11
    Consent Settings in Google Tag Manager
    1 people · 1 points · first shared 2022 · discussion on HN
  12. 12
    The Myth of the Non-Technical Marketer
    1 people · 1 points · first shared 2017 · discussion on HN
  13. 13
    Create cookie rewrite web service google cloud
    1 people · first shared 2020
  14. 14
    About simo ahava
    1 people · first shared 2020
  15. 15
    Scroll depth trigger google tag manager
    1 people · first shared 2019

What HN people wrote when they linked it

soared · 2018-06-05
Simo Ahava is an absolute legend for anything google tag manager / google analytics related. No other site is even remotely close. https://www.simoahava.com/
toinbis · 2020-12-09
Sure! :) But I think it's all just about few principles. Elaborated a bit more on them: 1. Tailwind CSS classes extracted with purge-css, all inlined. 2. Favicon inlined, small images (<4kb) inlined. Not sure what’s the best threshold. Here is all https://turboeshop.com/inlinedimages/ is all page in one requests. Meaning two big images that are https://turboeshop.com/fastestpageintheworld/ were inlined - results are way worse. So larger images - definitely excluded. 3. Gzip stuff(as one commenter below commented, not done in turboeshop.com/fastestpageintheworld/). 4. Everything from same domain and subdomain. If you want cloudinary or friends, I guess they are only allow subdomain. This is totally OKeish exemption. Or maybe there is a way to work around that cloudinary serves, Cloudflare caches. 5. JS - inlined. Cash.js maybe if you need jquery replacement, or just vanilla. Little content on vanilla js nowadays :), https://gomakethings.com/articles/ is something interesting. Don’t want to flame here, am not js expert, maybe someone can elaborate. 6. For compex components - svelte web components (or stencils or lithtml) - I’d prefer svelte but am not sure what’s best. 7. Google analytics a) - there is new google analytics (GA4) with measurement protocol2 and new server side google tag manager. Serve side gtm does two things a) serves gtag.js; b) accepts measurement protocol hits and sends to GA. Take a look how it’s done -…
lapcat · 2024-03-10
> Is iCloud Private Relay theatre? https://fingerprint.com/blog/ios15-icloud-private-relay-vulnerability/ > 3rd party cookie blocking? It's very funny that you should ask this question in response to an article about fingerprinting without cookies. But yes, there are various workaround to use 1st party cookies or other storage to take the place of 3rd party cookies. Perhaps the worst is the Safari "Privacy Report", which has always been misleading: https://www.simoahava.com/privacy/intelligent-tracking-prevention-ios-…
gorhill · 2022-07-27
> same requests sent to Google Analytics but with a different hostname There are instructions out there to also modify the path of the requests[1]. Consider this paragraph in the Summary section: > Cynics could say that this is an improved way to circumvent ad blockers. And they’d be right! This does make it easier to circumvent ad blockers, as their heuristics target not just the googletagmanager.com domain but also the gtm.js file and the GTM-... container ID. * * * [1] https://www.simoahava.com/analytics/custom-gtm-loader-server-side-tagg…
kyrra · 2022-02-21
Btw, someone wrote up a guide on hosting this on AWS, which covers what it would take to run it yourself. https://www.simoahava.com/analytics/deploy-server-side-google-tag-mana… If I'm not mistaken, the key bit is that Google makes the docker image available at: gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable Edit: oh, Google published a guide to self host maybe? https://developers.google.com/tag-platform/tag-manager/server-side/man…
pixeldetracking · 2022-02-21
cosmie · 2021-01-04
You can actually sanity check how common it is for T.ly by triggering an analytics hit within a <noscript> tag. Looks like you're using GTM/GA on your site, so this[1] should put you on the right track. You'll still be blind to individuals that are blocking GTM/GA itself since you're not using the newer server-side GTM option, hence only a sanity check. But it's a fairly low-effort tweak to be able to get a read on how common it is for your site specifically. [1] https://www.simoahava.com/analytics/track-non-javascript-visits-google…
blacksmith_tb · 2020-06-24
As someone who has wrestle with GA and GTM regularly, I think it's fair to say that the author (Simo Ahava[1]) is the preeminent authority on how they work, and his blog is generally more useful than the official documentation Google provides. 1: https://www.simoahava.com/about-simo-ahava/
TomAnthony · 2020-06-24
Reposting my earlier comment from [0] This article is incorrect. There does not appear to be a change between Safari 13.1 and Safari 14 for how it handles GA. I have tested it myself. With Safari 13.1 Apple made a change [1] to their Intelligent Tracking Prevention that blocks all 3rd party cookies for cross site resources. The only change in Safari 14 appears to be that it reports which domains have had cookies blocked. The Google Analytics beacon is still sent by the browser. Benedict Evans (cited in article) since deleted his tweet, but this article seems not yet to have been updated. [0] https://news.ycombinator.com/item?id=23612140 [1] https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-mor… Edit: it seems the article has been updated since earlier today, and now references tweets from myself and Simo. The article title is still very misleading. Edit 2: Simo has now written up a post with more details: https://www.simoahava.com/analytics/no-safari-does-not-block-google-an…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close