Discussion about this post

User's avatar
Ngan Le's avatar

Thanks for the sharing! But I got one issue with the GTM tags, I tried to setup a really simple one HTML tag, and it worked well on my other site but not on my substack post

https://beyondspace-settings-ui.squarespace.com/?password=12345&noredirect=&gtm_debug=1678717234869

My substack post

https://bangank36.substack.com/p/customize-substack-with-gtm

I can see the correct gtm.js loaded on both sites, but in console only the first site has correct message.

My tag is HTML tag

`

<div> Voila Substack </div>

<script>

console.log('voila substack');

</script>

`

Trigger is Page View ( all page )

Expand full comment
admin's avatar

Did you ever get this to work in a way that would allow for explicit consent? There does not seem to be any way to use GA4 in consent mode with Substack, since all scripts are blocked in the data layer, so cannot use a custom or third party cookie banner etc.

I am surprised they have made compliance each publisher's "problem", yet have no mechanism for implementation that would allow for GDPR and other regulatory compliance.

Expand full comment
9 more comments...

No posts