Hi,
I was wondering if there was a way to remove/disable the Ads for users who are members of my website (i.e. users who donate become members and benefit from not seeing ads).
Is there a straightforward way of doing this without duplicating webpages…?
Website: www.emunations.com
Nice webiste.
Once your member is logged in you can remove the ads by hiding them. Something like this…
import wixUsers from ‘wix-users’;
$w.onReady( function () {
if (wixUsers.currentUser.loggedIn) {
//change googleAdsenseID to whatever you are using for the ID on your website
$w("#googleAdsenseID").hide();
}
})
Nice…! I will look into implementing your suggestion and report back
Thanks for the positive feedback as well 
Little update:
After tinkering around I got it to work on a “per-page-basis”…
Is there a way to apply it to the whole “Site” since or else I’d have to repeat the same code on everypage

Place the code in your SITE CODE tab
I thought about that first, but the issue is not all googleidAds have the same numbering ID and it ranges from 1 to 16 (i.e. googleAdsense1, googleAdsense2, googleAdsense3,etc…)
i.e.
import wixUsers from ‘wix-users’;
$w.onReady( function () {
if (wixUsers.currentUser.loggedIn) {
$w(“#googleAdsense3”).collapse();
$w(“#googleAdsense3”).hide();
$w(“#googleAdsense4”).collapse();
$w(“#googleAdsense4”).hide();
}
})
Should I create one SITE CODE which repeats #googleAdsense(NUMBERS 1 TO 16), or is there a more efficient way?
Group the ads, hide the group
Worked like a charm.
Thanks for your help and problem solved 