Advertisement
clickio

Consent Taboola Feed

Apr 28th, 2021
1,159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.06 KB | None | 0 0
  1. <!-- Insert to <head> before ads and consent scripts (should be placed one time) -->
  2. <script type="text/javascript">
  3. var consentCallbackQueue=function(e,o){var t=!1,n=!1;let a=[],g=!1,l=!1,s=function(){g=!0,a.map(function(e,o){void 0!==e&&(e(t,n),a[o]=void 0)})};return document.documentElement.addEventListener("clickioConsentEvent",function(o){var a;a=o.detail.state,l=!0,null===a?(t=!0,n=!0,s()):-1===a||(0===a?(t=!1,n=!1,s()):1===a&&(t=!!e.__lxG__consent__.getGoogleConsentMode(),n=!!e.__lxG__consent__.getPurposeOneAllowed(),s()))},!1),setTimeout(function(){l||document.documentElement.dispatchEvent(new CustomEvent("clickioConsentEvent",{detail:{state:0}}))},5e3),{push:function(e){g?e(t,n):a.push(e)}}}(window);
  4. </script>
  5.  
  6.  
  7. <!-- Insert instead of this code - https://clickio.gyazo.com/797a9ca7c11fdd95e42be7f8652ef210 -->
  8. <script>
  9. consentCallbackQueue.push(function(o,t){
  10.     window._taboola = window._taboola || [];
  11.     _taboola.push({mode:'alternating-thumbnails-a', container:'taboola-below-article', placement:'below-article', target_type: 'mix'});
  12. });
  13. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement