Me again, thank you very much for your help!
I have made an own block for the desktop ad now, so my configuration is now as follows:
Dynamic Blocks –> server side
Device Detection –> client-side insert for block 1, desktop
device detection –> client-side insert for block 2, tablet, mobile
device detection -> client-side insert for block 3, tablet, mobile
blocked referrers: *facebook.com, *flipboard.com
Now I was trying to set a cookie in block 4:
var hours = 1;
var date = new Date();
date.setTime(date.getTime() + (hours * 60 * 60 * 1000));
document.cookie = 'ai-hide-ads=1; expires=' + date.toUTCString () + "; path=/";
–> insertion footer
–> no wrapping
In the blocks 1 to 3 I set the URL-Parameter to: ai-hide-ads. I tried if it works in an incognito tab. If I come from Facebook I don’t see any ads. I also don’t see any ads if I click on a link. If I come to my page from Google I see the ad, but when I click on a link, I don’t see any ad on the new loaded page too. Am doing something wrong?
Greetings Kathrin
PS: I rated your app!!