/**
* The URL of the script; useful for server-side GTM.
*
* @default https://www.googletagmanager.com/gtm.js
*/
source?: string;
GoogleTagManagerOptions would include the ability to add the source as an option for server side GTM
export const GoogleTagManagerOptions = object({
/** GTM container ID (format: GTM-XXXXXX) */
id: string(),
/** Optional dataLayer variable name */
l: optional(string()),
/** Authentication token for environment-specific container versions */
auth: optional(string()),
/** Preview environment name */
preview: optional(string()),
/** Forces GTM cookies to take precedence when true */
cookiesWin: optional(union([boolean(), literal('x')])),
/** Enables debug mode when true */
debug: optional(union([boolean(), literal('x')])),
/** No Personal Advertising - disables advertising features when true */
npa: optional(union([boolean(), literal('1')])),
/** Custom dataLayer name (alternative to "l" property) */
dataLayer: optional(string()),
/** Environment name for environment-specific container */
envName: optional(string()),
/** Referrer policy for analytics requests */
authReferrerPolicy: optional(string()),
})
馃啋 Your use case
Is it possible to add the source option into the Google tag manager paramaters like it is in https://github.com/zadigetvoltaire/nuxt-gtm
馃啎 The solution you'd like
GoogleTagManagerOptions would include the ability to add the source as an option for server side GTM
馃攳 Alternatives you've considered
No response
鈩癸笍 Additional info
No response