RebelMouse Talk to Us
Rebel Runner: Ad Targeting Variables

RebelMouse supports ad variables for Runner sites, allowing you to target ads to effectively increase ad revenue and support custom campaigns. Your ad tech can automatically serve different creative based on the ad variables you set.


Supported ad variables

  • Tags
    • example output for tag "dog" is "dog"
    • example output for tag "dogs rock" is "dogs-rock"
    • call this variable as {{tags}}
  • Sections
    • example output for section 'Marin' is 'marin'
    • example output for section "Silcon Valley" is "silicon-valley"
    • call this variable as {{sections}}
  • Page Type: page_type (homepage, sectionpage, postpage)
    • if on post page output would be "postpage"
    • if on homepage output would be "homepage"
    • if on sectionpage output would be "sectionpage" then section variable would give you the section you are on
    • call this variable as {{page_type}}

Example of how to include ad variables in the Runner editor

Ads are set up in Runners based on inserting the ad code, which usually requires:

  • A piece of header code (targeting is usually here). Header code must be added with the ad header code element

[rebelmouse-proxy-image https://media.rbl.ms/image?u=%2Fmedia.forumbee.com%2Fi%2Faff6970f-827b-4923-adcc-791d0f60a4b3%2F547.png&ho=https%3A%2F%2Fs3-us-west-2.amazonaws.com&s=1015&h=2320faa4cc7d99567bb3078cf0c224fca5e1e99b87ce5f7411866feba30bba4b&size=980x&c=155168693 crop_info="%7B%22image%22%3A%20%22https%3A//media.rbl.ms/image%3Fu%3D%252Fmedia.forumbee.com%252Fi%252Faff6970f-827b-4923-adcc-791d0f60a4b3%252F547.png%26ho%3Dhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%26s%3D1015%26h%3D2320faa4cc7d99567bb3078cf0c224fca5e1e99b87ce5f7411866feba30bba4b%26size%3D980x%26c%3D155168693%22%7D" caption="" pin_description="" image-library="0" expand=1 photo_credit=""] [rebelmouse-proxy-image https://media.rbl.ms/image?u=%2Fmedia.forumbee.com%2Fi%2Fbb5f36b4-8bb3-48b7-8772-31c6d448e1a8%2F547.png&ho=https%3A%2F%2Fs3-us-west-2.amazonaws.com&s=725&h=347d04a75b1b37fc711f205cbcb2077482b2c3659fcc139f72a517f2dd919e9d&size=980x&c=2261033884 crop_info="%7B%22image%22%3A%20%22https%3A//media.rbl.ms/image%3Fu%3D%252Fmedia.forumbee.com%252Fi%252Fbb5f36b4-8bb3-48b7-8772-31c6d448e1a8%252F547.png%26ho%3Dhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%26s%3D725%26h%3D347d04a75b1b37fc711f205cbcb2077482b2c3659fcc139f72a517f2dd919e9d%26size%3D980x%26c%3D2261033884%22%7D" caption="" pin_description="" image-library="0" expand=1 photo_credit=""]

  • ad tags placed where the ads themselves where shown

Variables are actually passed IN that ad code, so the client code needs to call those variables). Here's an example:

googletag.pubads().setTargeting('Sections', {{sections}}).setTargeting('Tags', {{tags}}).setTargeting('page-type', {{page_type}});

Examples of output from client site

  • Home Page
    • http://7x7.com/
    • No tags or sections but identified as "homepage"
    • Example:
    •  googletag.pubads().setTargeting('Sections', []).setTargeting('Tags', []).setTargeting('page-type', ["homepage"]);
  • Post page
  • Section Page
    • http://7x7.com/san-francisco/
    • Section is "San Francisco" which we translate to "san-francisco", no tags are setup. Section is identified as "sectionpage"
    • Example:
    • googletag.pubads().setTargeting('Sections', ["san-francisco"]).setTargeting('Tags', []).setTargeting('page-type', ["sectionpage"]);

Note: Dynamics ads in articles are not supported for Runner sites.

Interested in a Free Website Health Check?Check Your
Website's Health
Get Your Free Analysis Now
The Most Secure CMS of 2022
Featured

The Most Secure CMS of 2022

Why RebelMouse Is the Most Secure CMS on the Web

Delivering a secure, high-performing environment with extreme reliability is essential to all of our clients at RebelMouse. We only use industry-leading, reliable approaches to host our infrastructure. This ensures maximum stability and security for all of our clients’ data. Here are just some of the reasons we’re able to maintain a hard-bodied product that’s flexible, too.

Most websites get hacked. RebelMouse has never been hacked.

Keep reading... Show less
Build on a Better PlatformReady to See More?
Request a Proposal
The Subscription Model Is Taking off and Competition Has Never Been Steeper
Rebel Insights

The Subscription Model Is Taking off and Competition Has Never Been Steeper

The post-pandemic user landscape is still ripe for subscription revenue

You can get a subscription for everything these days. Whether it’s a cheese-of-the-month club or annual access to read your favorite content, the subscription-based model has continued to gain steam in recent years. In fact, the market for digital subscriptions is valued at $650 billion according to a new report from Lineup, a subscription management solution.

The power of the subscription model has been growing since even before the COVID-19 crisis began, and isn’t showing any signs of slowing as we enter a post-pandemic landscape. According to What’s New in Publishing, Gannett reported a 46% year-over-year increase in digital subscriptions in November 2021, putting them at 1.5M total subscribers. Hearst grew its digital subscriptions by 50% in 2021.

But subscriptions aren’t just for big name publishers. Users in 2022 are ready to pay up for legacy names and new media companies alike, as long as it’s for an experience that’s beneficial to them, reliable, and free of the clutter that can come from third-party platforms. Speaking of platforms, even TikTok and Instagram have started to gauge their audiences’ temperature on subscription experiences. So, the competition has never been steeper for publishers looking to build a subscriber base. Unfortunately, launching a simple paywall may not be enough.

Keep reading... Show less
Engagement on the Rise: Why It’s Your Ticket to Loyalty
Rebel Insights

Engagement on the Rise: Why It’s Your Ticket to Loyalty

New data from Chartbeat shows engagement time is increasing despite traffic dips

Getting users to your site is only half the battle. For publishers, it’s now become more critical to focus on how long those users stay on your site — and if they ever come back. Q1 2022 data analyzed by Chartbeat found that engagement is on the rise, even though metrics like pageviews and mobile traffic experienced a decline.

Chartbeat measures engaged time by the “amount of time that readers spend actively engaging with a page — scrolling, clicking, or moving their mouse.” With this in mind, their data showed that most regions in the world registered an average of 30 seconds of engaged time on site in Q1. Readers in Latin America led the results with an average of 34.7 seconds of engaged time.

Keep reading... Show less
Build on a Better PlatformReady to See More?
Request a Proposal