zadigetvoltaire / nuxt-gtm

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

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

Closed urlexnilz closed 8 months ago

urlexnilz commented 9 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 8 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 }