WordPress plugin
Ad Inserter Pro: WordPress Ad and Code Placement
Ad Inserter Pro places advertising and other configured code at selected positions on a WordPress site. It supports Google AdSense, Google Ad Manager, Media.net, Infolinks and rotating banners, as well as opt-in forms, analytics, tracking, JavaScript, CSS, HTML and PHP.
Manage ads and code across WordPress
Ad Inserter Pro places advertising and other configured code at selected positions on a WordPress site. It supports Google AdSense, Google Ad Manager, Media.net, Infolinks and rotating banners, as well as opt-in forms, analytics, tracking, JavaScript, CSS, HTML and PHP.
Choose positions before or after posts, content, paragraphs, pictures, comments or excerpts. Insert code between posts, excerpts or comments, near selected HTML elements, at custom WordPress hooks, in feeds, or in Ajax, RSS and REST requests. Relative positions, CSS selectors, the visual HTML element selector and Gutenberg blocks provide different ways to target a layout.
Configure placement and presentation
The visual advert editor can create adverts from scratch. A code preview with a visual CSS editor supports code adjustments. You can add code above the header or in the footer, use different ad codes on AMP pages, and disable ads on selected posts or pages. Widgets, shortcodes, PHP function calls, custom fields, post titles, tags and categories offer additional ways to place contextual content.
- Insert before or after paragraphs, including random or multiple paragraphs.
- Place code near page elements with CSS selectors or the DOM explorer.
- Generate banners and placeholders with the code generator.
- Set custom alignments, styles, ad labels and wrapping classes.
Handle advertising and website code
Ad Inserter Pro can add raw HTTP response header lines and code in the site header or footer. It also supports Google Analytics, Matomo and other tracking code, along with images, HTML, CSS, JavaScript and PHP. PHP processing and shortcodes from other plugins support further integrations.
Advertising controls include sticky fixed widgets such as sticky sidebars, and options to detect, conceal or replace blank AdSense blocks. The add-on also supports GDPR consent checks and an ads.txt editor.
Pro targeting and reports
Geolocation can use internal or MaxMind databases and target visitors by country, state, region or city, including on websites that use caching. IP addresses, countries and cities can be blacklisted or whitelisted.
Impression and click statistics are available for JavaScript adverts, including Google AdSense. Client reports can be prepared as PDFs.
Set up and check placements
Install the add-on in WordPress, add advertising or other code to its blocks, and configure insertion positions and rules. Review the preview, labels, styles, targeting and exclusions before publishing. After saving, check the page source and displayed placements to confirm the configured code appears where intended.