Viewing 1 replies (of 1 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello,

    if the space is because the blocks with ad codes are not inserted because of not accepting cookies, then make sure no block has height defined.

    However, in your case you have empty ad blocks even before the consent is given or rejected.

    For example, block 14 uses code which defines ad block height:
    <ins class="adsbygoogle" style="display:inline-block;width:336px;height:280px" data-ad-client="ca-pub-8628786785898020" data-ad-slot="5020083595"></ins>

    Since no ad is served for this block you see an empty ad block.

    To insert ad codes only after the consent is given you need to follow the instructions described here:
    https://adinserter.pro/faq/gdpr-compliance-cookies-consent

    Please note that most web admins want the opposite behaviour: to insert the codes so that the layout will not shift when the consent is given:
    https://adinserter.pro/faq/how-to-minimize-layout-shift

    This means having empty ad blocks when the consent is not given (or ads not served).

Viewing 1 replies (of 1 total)
  • The topic ‘Empty space remove after Reject ads’ is closed to new replies.