zadigetvoltaire / nuxt-gtm

Nuxt 3 module for Google Tag Manager
https://www.npmjs.com/package/@zadigetvoltaire/nuxt-gtm
MIT License
70 stars 4 forks source link

Use of Proxy for standard google domain www.googletagmanager.com #22

Closed urlexnilz closed 10 months ago

urlexnilz commented 11 months ago

Hi,

we want to use a docker image as proxy for the domain www.googletagmanager.com. Is it possible via configuration to replace the google domain with a custom proxy domain? Is this feature planned in the future?

urlexnilz commented 10 months ago

"source" in nuxt.config.ts :)

example:

gtm: { // https://nuxt.com/modules/nuxt-gtm id: process.env.NUXT_PUBLIC_GTM_ID, defer: true, compatibility: true, enabled: true, debug: true, loadScript: true, enableRouterSync: true, ignoredViews: [], trackOnNextTick: false, devtools: false, source: process.env.NUXT_PUBLIC_GTM_PROXY_URL }