Google Tag Manager Support in MV3

211 views
Skip to first unread message

William Pond

unread,
Feb 9, 2023, 4:23:20 PM2/9/23
to Chromium Extensions
Hey everyone, 

I am curious, with Manifest V3 on the way, does Google have any documentation or recommendations on how to host Google Tag Manager within a chrome extension? Without the support for external scripts with MV3, I know ill need to make some adjustments to get approval to be on the Chrome Web Store. 

I looked at previous posts from this group and some mention service workers and locally downloading the GTM file instead, but unsure if this will work. I am hoping there is a recommendation from Google on how to host their own product but no luck searching on my own. 

Thanks!


Stefan Van Damme

unread,
Feb 14, 2023, 8:40:02 AM2/14/23
to Chromium Extensions, William Pond
Hi William,

Currently, the external script is not allowed in the Chrome extension Manifest V3 on the Chrome Web Store:
|| In Manifest V3, all of your extension's logic must be included in the extension. You can no longer load and execute a remotely hosted file.

And a POST call to send your data to Google Analytics is a solution for the Chrome extension Manifest V3:
See this helpful tutorial on https://stackoverflow.com/a/73825802/1731468

Thanks,

William Pond

unread,
Feb 21, 2023, 9:41:20 AM2/21/23
to Chromium Extensions, Stefan Van Damme, William Pond
Thank you very much for reply Stefan! Yeah it sounds like there isn't an alternative in place yet for Google Tag Manager or Google Ads / Adwords, I will continue to look around. 

Stefan Van Damme

unread,
Feb 21, 2023, 9:57:55 AM2/21/23
to Chromium Extensions, William Pond, Stefan Van Damme
Hi William,

You are welcome.

Thanks,

Reply all
Reply to author
Forward
0 new messages