analytics icon indicating copy to clipboard operation
analytics copied to clipboard

Google Analytics - Allow enhanced conversions

Open gvillo opened this issue 4 months ago • 0 comments

Hi, I was wondering how can I set allow_enhanced_conversions to true?

On GA/Ads docs says that you need to do the following:

gtag('config', 'TAG_ID', { ' allow_enhanced_conversions':true } ) ;

I couldn't find a way to do it with this lib under:

googleAnalytics({
  measurementIds: ['G-XXXXXXXX'],
}),

I believe we must add a param to gtagConfig to the plugin (if I am not wrong, it's not typed -yet-):

googleAnalytics({
  measurementIds: ['G-XXXXXXXX'],
  gtagConfig: { allow_enhanced_conversions: true }
}),

Thanks!

gvillo avatar Aug 26 '25 14:08 gvillo