How to enable allow_enhanced_conversion in Google Analytics tag?
#76961
Unanswered
kulterryan
asked this question in
App Router
Replies: 1 comment 1 reply
-
|
To enable enhanced conversions with the Here's an updated version of your code with the import { GoogleAnalytics } from '@next/third-parties/google';
function MyApp({ Component, pageProps }) {
return (
<>
<GoogleAnalytics
gaId="G-CGETBWYET8"
allow_enhanced_conversions={true}
/>
<Component {...pageProps} />
</>
);
}
export default MyApp;Explanation:
Make sure that you have the necessary setup in your Google Analytics account and ensure that the appropriate Google Tag Manager or configuration settings are in place to fully leverage enhanced conversions. Let me know if you need further assistance! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Passing
allow_enhanced_conversionswith@next/third-parties/google'sGoogleAnalyticsI'm currently utilizing the
@next/third-parties/google'sGoogleAnalyticscomponent in my Next.js application, and I'm looking to enable enhanced conversions by setting{'allow_enhanced_conversions': true}within the Google Analytics configuration.Here's how I'm currently using it:
Beta Was this translation helpful? Give feedback.
All reactions