-
I wanted to ask if it's Nextjs problem, since I've been looking for other alternatives and I can't find why the screenshot in Google Search Console comes out without the styles, in other pages without Nextjs I haven't had that problem. This is the screenshot generated by Google from Google Search Console. This is my website of Posicionamiento web Málaga https://www.clicksolution.es/ |
Beta Was this translation helpful? Give feedback.
Answered by
chiqui3d
Jun 3, 2020
Replies: 1 comment
-
It seems to be fixed, because now it works, I added a <script dangerouslySetInnerHTML={{
__html: `window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);};gtag('js', new Date());gtag('config', '${GA_TRACKING_ID}', {page_path: window.location.pathname});gtag('config', '${GA_ADS_ID}');`,
}}
/> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
chiqui3d
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems to be fixed, because now it works, I added a
;
after gtag analytics function.