Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing ad all over the website in production. #24

Closed
sarthaksavvy opened this issue Feb 28, 2019 · 5 comments
Closed

Showing ad all over the website in production. #24

sarthaksavvy opened this issue Feb 28, 2019 · 5 comments

Comments

@sarthaksavvy
Copy link

sarthaksavvy commented Feb 28, 2019

I can sucessfully added adsense ads to nuxt project but when I deploy it on server, then ads are showing on each of the page.

This question is available on Nuxt community (#c15)
@ghost ghost closed this as completed Feb 28, 2019
@ghost ghost added the cmty:question label Feb 28, 2019
@ghost
Copy link

ghost commented Feb 28, 2019

This issue as been imported as question since it does not respect google-adsense-module issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/google-adsense-module/issues/c15.

@power-cut
Copy link

power-cut commented Mar 4, 2019

@tmorehouse
same here.. i am using adsense module on just one page. but the ads are displayed on other pages too.

@tmorehouse
Copy link
Collaborator

Are you placing the ad outside of a <nuxt-view> or <nuxt-child> component? that would be the only way the ads would stay on page if your route changes, unless you have page level ads enabled (which will show ads at the bottom or top of the page, when google thinks there is an opportunity).

@sarthaksavvy
Copy link
Author

Hey the problem is with adsense itslef. and its not a problem actually, its adsense auto ad feature.
This feature place ad on your whole website by default.

You need to switch it off from your adsense account. just to to your adsense account and turn every type of ad in your autoad section.
This solves our problem

@power-cut
Copy link

@tmorehouse i am using single instance in a page component but the ads are being shown on index page as well.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants