DEV Community

Cover image for Video Ads for Elementor, Managing Pre-Roll Campaigns at Scale
NEXU WP
NEXU WP

Posted on

Video Ads for Elementor, Managing Pre-Roll Campaigns at Scale

I built this plugin to solve a very specific WordPress problem: adding pre-roll ads to Elementor videos without bolting on a second player, extra shortcodes, or theme-level hacks.

A lot of sites already use Elementor's core Video widget for lessons, demos, and landing pages. The usual ad workaround is messy. Teams stack embeds, hide scripts in templates, or wire up custom JS that becomes fragile the next time someone edits the page. I wanted the ad workflow to live where editors already work.

So the plugin extends the Elementor Video widget itself. Inside the same widget panel, I add a Video Ads section where you can enable a pre-roll clip, define skip timing, and optionally attach a visit URL. That keeps the playback flow feeling like one component instead of two unrelated video systems.

Under the hood, the plugin separates configuration into two layers. The first is per-widget control inside Elementor, which is useful when a single page needs custom timing or a different ad. The second is a global admin layer in WordPress, where I can apply a shared ad across multiple pages and exclude content when needed. That avoids repetitive setup for larger sites.

I also added a statistics screen that records plugin-level activity such as impressions, skips, and interactions. It is not meant to replace a full analytics stack, but it gives editors and site owners a direct way to verify that campaigns are actually running and compare local widget settings against global rules.

The main technical goal was reducing editor confusion. If the ad settings live outside Elementor, teams have to remember which shortcode, script, or template owns the behavior. By attaching everything to the existing Video widget, the ownership is obvious.

If you want to see the product itself, I published it here: https://nexuwp.com/product/elementor-video-ads-dynamic-video-advertising-for-wordpress/

In practice, the plugin is less about ad tech buzzwords and more about keeping WordPress video monetization maintainable. One widget, one playback journey, and a cleaner way to manage pre-roll campaigns across Elementor pages.

Top comments (0)