RebelMouse Talk to Us
Pro Tip: Too Many B Tests? Use Shared Elements for Better Organization

RebelMouse offers unique multivariate testing that makes creating B tests for page layouts easy. However, sometimes having too many B tests can be hard for developers to organize and manage. If this is a problem on your site, you'll want to consider testing components of your site using shared elements. This helps your site's design workflow in a handful of ways:

  • Developers can work on different post layouts at the same time.
  • If you only want to process one B test, our servers will load all of them at the same time. Using shared elements prevents this from happening.
  • Our servers do not run shared elements if the conditional is set to false.
  • Post and Section pages will become more organized in Layout & Design Tool.

Post Layouts

Each post layout should be placed in its own shared element. This will prevent any issues between new B tests and quality assurance updates. It will also save time when the page is rendered.

Section Layouts

Just like Post pages, every Section layout with conditionals should have its own shared element.

Naming Shared Elements

When naming your shared elements, make sure they are short and easy to understand.

  • Post Layout: Every Post layout should be saved to its own shared element following a "Post + Layout Name" naming convention as a title. For example, "Post Partners," "Post Truck," "Post Default," etc.
  • Section Layout: Use the same logic as a Post layout. Choose names like "Section News," "Section Babies," "Section Default," etc.
  • Element: This will be repetitive, so be sure to include details when naming your elements. For example, "Element Post Sidebar," "Element Post Bottom," "Element Newsletter Wide," "Element Section Sidebar," etc.


It's easy for JavaScript to become disorganized, which is why it is best to use a shared element for each piece of JavaScript. Here are some things to keep in mind:

  • JavaScript General Element: Place this at the end of the page, either in the footer or at the end of a Post layout.
  • JavaScript Head: Use the <head> element and place it in your Top Bar.
  • JavaScript Post/Section: This layout-based JavaScript should be placed at the end of your layout.
  • JavaScript Placement: JavaScript not in a <head> tag should be placed at the end of your page in a JavaScript element. This will result in faster HTML rendering. It will also not impact in-place ad calls.

  • Ads: All ads should be in a JavaScript Ads element with a provider-based title, like "JavaScript Ads Google."

Click here for a guide to all of Layout & Design Tool's elements. If you have any questions about using shared elements, email or talk to your account manager today.

Build on a Better PlatformReady to See More?
Request a Proposal
People on a train station
Rebel Insights

RebelMouse Q1 2021 Platform Updates

Speed, performance, and Core Web Vitals enhancements

Click here to read our Q2 2021 platform performance updates!

At RebelMouse, we pour our souls into making sure that our platform is always the most modern, high-performance CMS on the market. In fact, we invested over $100,000 worth of hours into our platform in Q1 2021 alone. This has resulted in updates and performance enhancements that publishers would have to pay for on their own to make happen on any other platform, such as WordPress. We're proud to be at a level of scale where we can invest this way into our platform, and we will continue to invest at this rate every quarter moving forward just as we have in the past.

Here are the major updates that we've added to the platform in Q1.

Keep reading... Show less
Build on a Better PlatformReady to See More?
Request a Proposal
how to make images seo friendly
Rebel Insights

Keep Search a Priority With SEO-Friendly Image Filenames

There are a lot of factors that go into a successful search engine optimization (SEO) strategy, including performance, structured data, and, of course, choosing the right keyword(s). Our proprietary search technology helps content creators prep every article for success on search. This all-encompassing approach includes the use of SEO-friendly image filenames.

On RebelMouse, if you assign an alt tag to an image in Entry Editor, that alt tag will also become the image's file name. Briefly, alt tags describe images for search engines, and also allow people using screen readers to know what the image is without actually being able to see it. Adding your desired search phase to every alt text field, and in turn every image file name, will reinforce its relevance to Google's crawler, bringing you one step closer to the top of search returns.

Keep reading... Show less
what is google search console insights
Rebel Insights

Fuel a Data-Driven Content Strategy With Google Search Console Insights

At RebelMouse, we believe a data-driven content strategy is the key to success. Luckily, the era of "post and pray" is far behind us. Creators no longer need to create articles blindly and hope that they are successful. There are now tools that can help creators understand the kind of content that resonates with their desired audiences.

That's why we are excited to let you know about Google Search Console's Insights feature. According to Google, this new data view will help content creators and site owners answer the following questions:

  • What are your best performing pieces of content?
  • How are your new pieces of content performing?
  • How do people discover your content across the web?
  • What do people search for on Google Search before they visit your content?
  • Which article refers users to your website and content?
Keep reading... Show less
Build on a Better PlatformReady to See More?
Request a Proposal