Advertisement
Guest User

Untitled

a guest
Nov 15th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. Implement in the header section (it can go anywhere within the <head> </head>)
  2.  
  3. <script type="text/javascript">
  4. window.m2hb = window.m2hb || {};
  5. window.m2hb.unitVariables = window.m2hb.unitVariables || {};
  6. window.m2hb.unitVariables['section'] = 'being-well'; // set the section here
  7.  
  8.  
  9. window.pgjs = window.pgjs || {};
  10. pgjs.gdpr = pgjs.gdpr || {};
  11. pgjs.publisher = pgjs.publisher || {};
  12. pgjs.publisher.name = 'Upworthy';
  13. pgjs.publisher.privacyPolicy = '//goodmediagroup.com/Privacy-Policy';
  14. pgjs.publisher.logo = '//www.upworthy.com/assets/upworthy-logo-2015.svg';
  15. pgjs.gdpr.consentDuration = 90;
  16. pgjs.publisherCookieWrap = function() {
  17. pgjs.loadJS('//m2d.m2.ai/pghb.upworthy.js');
  18. }
  19.  
  20. </script>
  21. <script src="//cdn.pubguru.com/pg.js">
  22. </script>
  23.  
  24.  
  25. ----------------------------------
  26. Implement ad units in <body> section where ads should show:
  27.  
  28. <div id='gpt-place-20' class='pg-lazy></div>
  29. <div id='gpt-place-12' class='pg-lazy></div>
  30. <div id='gpt-place-2' class='pg-lazy></div>
  31. <div id='gpt-place-3' class='pg-lazy></div>
  32. <div id='gpt-place-4' class='pg-lazy></div>
  33. <div id='gpt-place-5' class='pg-lazy></div>
  34. <div id='gpt-place-6' class='pg-lazy></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement