@lg2/nuxtmodule-consent-gtm-nuxt-3
to be placed before gtm module
npm i @lg2/nuxtmodule-consent-gtm-nuxt-3 -D
yarn add @lg2/nuxtmodule-consent-gtm-nuxt-3 -D
modules: [
'@lg2/nuxtmodule-consent-gtm-nuxt-3',
'@nuxtjs/gtm',
],
consentGTM: { localStorageItem: 'storedConsentLocale' },