Can you add Google adsense to the tailwind-nextjs-starter-blog? #635
Closed
Abinaskarki
started this conversation in
General
Replies: 1 comment 1 reply
-
Yes, you can add Google adsense to this blog by adding adsense script in the Head of _document.js file on pages folder like below.
Also, it is better to add ads.txt file with adsense credentials you get from Google Adsense in the public folder. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried adding adsense script in the _document.js Head tag, however, google ads are not showing.
I also removed the Content-Security-Policy from next.config.js. But, the issue prevails.
Has anyone enabled Google Adsense for the tailwind-nextjs-starter-blog?
Beta Was this translation helpful? Give feedback.
All reactions