Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

This guide helps to ensure that the page only contains required tags and prevents incompatible tags which could cause problems.
If the page contains ad stacks like AdSense, GPT or others, they need to be removed. All necessary tags will be loaded by AdEngine in an optimized way.

AdEngine v2

When migrating from AdEngine v2 to v3, some page element need to be removed or changed. Follow the individual integration guides how to setup AdEngine v3 and cleanup the tags described here.

Boilerplate

Configuration

Remove the following example tags from the page head element:

Code Block
<script>
  var snhb = snhb || {}; snhb.queue = snhb.queue || [];
  snhb.options = {
    ...
  };
</script>COPY

Script loading

Remove the snhb script loading tag from the page head element:

Code Block
<script async src="https://cdn.snigelweb.com/pub/**your.domain**/**timestamp**/snhb-**your.domain**.min.js" type="text/javascript"/>COPY

Adhesion extra script

Remove extra script that we used for adhesion-footer units. We are loading all needed scripts via AdEngine now.

Code Block
<script async type="text/javascript" src="//cdn.snigelweb.com/extras/StickyAdunits.min.js"></script>COPY

AdConsent

AdConsent is loaded and configured automatically by AdEngine v3. All tags for AdConsent should be removed from the page.

Configuration

Remove the following example tags from the page head element:

...

.

...

Script loading

Remove the snhb script loading tag from the page head element:

...

...

<script src="//staging-cdn.snigelweb.com/adconsent/adconsent.js" type="text/javascript"></script>COPY
Code Block
<script src="//cdn.snigelweb.com/sncmp/latest/sncmp_stub.min.js" type="text/javascript"></script>COPY

Google Publisher Tags

If the page loads GPT, remove all tags in the head element for loading and configuring GPT. This includes tags shown in the following examples:

Code Block
<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js" type="text/javascript"/>COPY>
Code Block
<script>
  window.googletag = window.googletag || {cmd: []};
  googletag.cmd.push(function() {
    googletag.pubads().disableInitialLoad();
    googletag.pubads().enableSingleRequest();
    googletag.enableServices();
  });
</script>COPYscript>

AdSense

If the page loads AdSense, remove all tags in the head element for loading and configuring AdSense. This includes tags shown in the following examples:

Code Block
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" type="text/javascript"/>COPY>
Code Block
<script>
  (window.adsbygoogle = window.adsbygoogle || []).pauseAdRequests = 1;
</script>

...