RebelMouseTalk to Us
How to Set up Ad Tags + Custom HTML Elements

If you want to implement ads on a page, you can do so by clicking on the + ADD ELEMENT button in our Layout & Design tool:


This will open up a list of all of the elements you can use. This is where you can find Ad Tag:

Once placed in your layout, it will let you paste in the ad tags and separate them into code blocks for mobile, tablet, and desktop:

Here is the code for Ad Tags:

    <!-- /8118653087/SmartHome_Billboard --><div id='div-gpt-ad-1544633047645-0'><script>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1544633047645-0'); });</script></div>

Setting up Ads Using a Custom HTML Element

If you need a custom implementation that includes styling of ads or specific <div> elements, then choose Custom HTML instead of Ad Tag in the + ADD ELEMENT menu:

You can use custom HTML for many purposes, and the use case we'd like to cover here is inserting custom ads to increase your site's revenue.

You can add a Custom HTML element inside any column you have in your layout. Here's an example of a sticky ad module inserted in a Post Page:

You can also name your Custom HTML elements to easily identify them. In the example above, we named our example "left rail sticky assign."

Here is the Custom HTML code:

    <!-- /8118653087/Homepage_Leaderboard --><div id='div-gpt-ad-1544631345264-0' style="text-align : center"><script>googletag.cmd.push(function() { googletag.display('div-gpt-ad-1544631345264-0'); });</script></div>

You can create different ad placements with custom HTML for mobile, tablet, or desktop by using the Conditional Content element:

Once the Conditional Content element is placed, you can place new elements inside of it, such as custom HTML or header code.

In the drop-down menu, you'll be able to choose if you want the conditional content to be placed for mobile, tablet, or desktop:

If you choose "Is Tablet" and you're in desktop view, or "Is Mobile" and you're in tablet view, and so on, don't worry — the element hasn't disappeared. It's only visible in the viewport when it's called to be displayed.

If you have any questions about Ad Tags or the Ad Dashboard, please contact your account manager.

What Is RebelMouse?
Request a Proposal
Google Made Major Changes to Its Formula for Page Speed. Here’s What to Do About It in 2022.
Rebel Insights

Google Made Major Changes to Its Formula for Page Speed. Here’s What to Do About It in 2022.

Make sure your site is set up for success in 2022.

In the spring of 2020, Google let the world know that its Core Web Vitals would become the new benchmark for measuring a site's performance in its search results, known as the page experience update. Fast forward to more than a year later in August 2021 when, after much anticipation, Google's page experience update became official.

Since its rollout, developers have felt the impact of how their publishing platforms stack up against the new standard. Important decisions around the architecture of your site can now make or break your site's performance in the eyes of Google.

HTTP Archive, a tracking platform that crawls the web to identify trends and record historical patterns, frequently reports on how top content management systems (CMS) have weathered the page experience update through the creation of its Core Web Vitals Technology Report. RebelMouse has consistently outperformed major CMS platforms on Google's most critical metrics throughout the year:

Getting superior scores on Google's performance benchmarks isn't easy, either. The Ahrefs blog analyzed Core Web Vitals data from the Chrome User Experience Report (CrUX), which is data from actual Chrome users, to see how the web stacks up against Core Web Vitals. Their study found that only 33% of sites on the web are passing Core Web Vitals.

data from Ahrefs tracked on a line chart finds that shows only 33% of sites on the web pass Google's Core Web VitalsFrom Ahrefs.

Luckily, performing well on Core Web Vitals is possible with thoughtful, strategic changes to your site’s codebase. Here's what you need to know and how we can help.

Keep reading...Show less
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.

Keep reading...Show less
Interested in a Free Website Health Check?Check Your
Website's Health
Get Your Free Analysis Now