A brief guide on integrating the Adskeeper Monetization solution into WordPress websites in just a few simple steps.
The installation code for the widget is composed of two parts.
Part 1. HEAD Part (website level script). Adskeeper preloader that should be placed inside the website <HEAD> section. Example of the script:
<script src="https://jsc.adskeeper.com/site/198602.js" async></script>
Part 2. BODY Part (where widget will be shown)
<!-- place in the body --> <div data-type="_mgwidget" data-widget-id="868490"></div> <script>(function(w,q){w[q]=w[q]||[];w[q].push(["_mgc.load"])})(window,"_mgq");</script>
To process the installation, follow these steps:
- Install a free Ad Inserter Plugin from the WordPress
- Go to the WordPress Plugins menu, click the Add New button
- Search for “Ad Inserter”
- Click Install Now
- Activate Ad Inserter on the Plugin dashboard
- When adding the code, select the specific locations where the widgets should appear on the websites.
- After that, save the settings.
- Click the settings icon located in the top-right corner.
- Select the Header section.
- Paste the Head script.
- Click the icon “Enable Insertion of this code into HTML page header.”
- Save Settings.