**STEPS:** 1. Sign up for an Adsterra publisher account: https://beta.publishers.adsterra.com/websites 2. In the Adsterra dashboard, create the following ad units: - Social Bar - Popunder 1. Inject the following script into your `publish.js` file. Replace `<social link>` and `<popunder link>` with the URLs provided in the Adsterra dashboard: ```js (function() { const scripts = [ '<social link>', '<popunder link>' ]; scripts.forEach(src => { if (Math.random() < 0.1) { const script = document.createElement('script'); script.type = 'text/javascript'; script.src = src; document.head.appendChild(script); } }); })(); ``` --- **NOTES:** - The above code has a 10% chance of injecting an item, which is about 19% of injecting either one of them. - You can increase the `0.1` in this script if you want to be more aggressive when pushing ads.