RebelMouse Talk to Us
How to use Variable Overrides to Override OG Tags

Easily customize your social posts with Variable Overrides

In RebelMouse's Layout & Design tool, you have the ability to create variable overrides. This is helpful when you have to set Open Graph (OG) tags, which is a system of meta tags, in a section or post page or in the <head> tag of a page.

Facebook uses OG tags to generate the preview cards for shared articles and pages. Since these tags carry over the meta information that's been set for every page, you might want to override these tags for a particular social post. For instance, you may want to change what image displays on Facebook when you share your home page.


How to Override OG Image Tags

In the Layout & Design tool, use the hamburger menu (☰) to select Variable Override.

Next, click on the element Variable Override OG Image. In the Properties pane on the right-hand side, the settings for the element will appear. From there, you can upload the image you want to override the OG tag.

How to Override OG Tags for Title

First, add a Variable Override element like in the steps above. Then, select Facebook Share Title as the Variable.

Next, add the new title you want to use to override the original metadata:

Next, click Code to open up the code view for the element. There, you will want to change the Name attribute to remove the Post string.

For example, if the code is:

<add_to_content name="sharing_post_texts.facebook_title" value="New OG Title"/>

You will want to change it to:

<add_to_content name="sharing_texts.facebook_title" value="New OG Title"/>

In this example, your code view should look like the following:

Click Apply to save your changes.

How to Override OG Tags for Description

The process for overriding a description is similar to overriding a title. First, define the Variable, and then select Facebook Share Description to add your desired information.

Just like in the previous example, you will need to go into the code view and remove the Post string:

In this example, your code view should look like the following:

Click Apply to save your changes.

Using Variable Override to Override OG Image for Twitter

You can also use Variable Override elements to override OG images for Twitter. First, you will need to get the new image URL stored in RebelMouse.

In the Layout & Design tool, add the Image element to your page:

Then, upload your image:

After it's uploaded, right-click on the image and choose Copy Image Address. The address will be the URL for your OG override. You can delete the Image element and the image will be stored in your RebelMouse Digital Asset Manager (DAM).

Next, you will need to add two new Variable Override elements. For the first one, in Variable Name add page_card.type. In the Value field, add summary_large_image.

For the second Variable Override element, in Variable Name, type page_card.image. Then for the Value field, paste the URL of the image you previously uploaded to RebelMouse using the Image element. It should look like the following:

Here are some links to useful debugging tools for sharing URLs:

If you have any questions about Variable Overrides for social, email support@rebelmouse.com or contact your account manager today.

What Is RebelMouse?
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
Interested in a Free Website Health Check?Check Your
Website's Health
Get Your Free Analysis Now
how to set up google publisher center
Rebel Insights

A Guide to Google's Publisher Center

May 2022 Update: Looking to set up Publisher Center?

Navigating critical tools for your organization on your own can be treacherous. RebelMouse has built a platform infrastructure that exceeds the digital publishing industry’s standards, while simultaneously cracking the code on Google's algorithm puzzles. Our platform is designed from the ground up to empower users of every skill level to build sites that perform well against Google’s Core Web Vitals, which means better organic reach, search returns, and visibility. In fact, Google recently featured RebelMouse on its web.dev blog to highlight how our performance optimizations nurture user loyalty and engagement. We provide the tools and information that unlock sustainable growth and revenue, and we outperform other industry leaders on site, search, and social. Let's start working together.

In late 2019, Google merged Google News Producer and Google News Publisher Center into a single tool. Officially called Publisher Center, Google has created an enhanced user experience and expanded set of functionalities that easily allow any publisher to manage content across multiple properties on Google News.

One of the many great new features Publisher Center offers is the ability to manage multiple sites simultaneously under one organization, as well as the ability to switch between more than one organization.

This makes managing many sites across multiple organizations a snap.

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