Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
<script type="text/javascript">´
  window.dataLayer = window.dataLayer || [];
  dataLayer.push({ 'atf-contentType': 'gallery' });
  dataLayer.push({ 'atf-channel': 'testchannel123' });
  dataLayer.push({ 'atf-targeting': {'atf_sdk_custom_key': 'testing'}})
</script>

Add atf-targeting as attribute (Slot Targeting)

This attribute is optional and build by request. It is possible to define targetings like attributes in the ad slot via atf-targeting-<key>="<value>"

Code Block