A cookie notice that is honest about what you set
No third-party consent script. A dismissible banner, a stored choice, and ad code that only loads once consent exists.
9 entries
No third-party consent script. A dismissible banner, a stored choice, and ad code that only loads once consent exists.
A tight Content-Security-Policy breaks ad embeds and pasted network code. Set it globally, exempt the pages that carry third-party markup.
Sponsor, then network, then house, then nothing. One function that means an unsold slot never leaves a hole in the page.
Check that the request came from the site the slot belongs to. Refuse the credit, never the content — the same rule that keeps you out of trouble everywhere else.
A bait element and one class toggle. Ask, do not block — a wall costs you the visitor and the search ranking.
Crediting on the ad request pays anything that can run curl. A signed nonce plus a beacon that only fires in a visible browser closes it.
Pick a creative that matches the slot size, prefer one the visitor has not already been paid for today, and never leave the slot empty.
A 728x90 in a 360px column overflows or gets clipped. Two CSS properties on the iframe and one change in the renderer fix it for every publisher at once.
The swap technique, plus the one line that stops the visitor's own click from cancelling it — the reason most popunder code silently loses the traffic it was supposed to send.