You are currently viewing How to Show Personalized Content to Different Users in WordPress

How to Show Personalized Content to Different Users in WordPress

Do you want to show different content to different users in WordPress?

Sometimes you may want to show custom content to users from specific locations, on specific dates, or under other conditions. Website personalization is not available in WordPress out of the box. However, there are simple and easy tools you can use to handle this.

In this article, we’ll show you how to easily show personalized content to different users in WordPress.

How to show personalized content to different users in WordPress

Why Show Different Content to Users in WordPress?

Normally, when you publish content on your WordPress website, it just becomes available to everyone. What if you wanted to show a different version of the content to specific users?

For instance, you may want to offer free shipping to customers in a specific geographic location or show different content to users coming from a particular landing page.

One way to deal with this is by making a membership site and restricting access to content based on a user’s profile. However, not everyone wants to require user login to offer personalization.

That’s where WordPress website personalization solutions can help.

You can use smart conditions to add content personalization on your blogs, product personalization on your online store, and dynamic text replacement on your landing pages.

These conditions can include specific user interactions, their geographic location, time of day, specific pages they’re visiting, specific traffic referrer source, past behavior, and more.

That being said, let’s take a look at how to show different content to different users in WordPress. You can use the links below to go directly to the method you want to use.

Method 1. Showing Different Content to Users Using OptinMonster (Website Personalization Made Easy)

OptinMonster is the best lead generation and conversion optimization tool on the market. It comes with powerful targeting rules which allow you to show personalized campaigns to users based on a large set of display rules.

This method is recommended for all users because it gives you the ability to design your content and comes with more powerful targeting rules. It also works with email marketing tools and third-party apps.

First, you’ll need to sign up for an OptinMonster account. It is a paid tool, and you’ll need at least a Pro or Growth plan to access all targeting features.

Simply visit the OptinMonster website and click the ‘Get OptinMonster Now’ button to set up an account.

OptinMonster

Next, you need to install the OptinMonster plugin on your WordPress site. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you will see the OptinMonster setup wizard in the WordPress admin panel. Next, you need to click the ‘Connect Your Existing Account’ button to connect your WordPress site to your OptinMonster account.

Connect your existing account

After that, a new window will open.

Simply click the ‘Connect to WordPress’ button to move ahead.

Connect OptinMonster to WordPress

Design The Content You Want to Show to the Users

Once connected, you can head to OptinMonster » Campaign from your WordPress dashboard and click the ‘Create Your First Campaign’ button.

Create first OptinMonster campaign

This will take you to the OptinMonster website, where you will be asked to choose a campaign type and template.

OptinMonster offers different campaign types that you can use to show various types of content or targeted messages to your users. This includes lightbox popups, floating bars, fullscreen, inline widgets, slide-in popups, and gamified campaigns.

For instance, if you want to show dynamic content inside a WordPress post or page, then you can choose the Inline campaign type.

Select an inline template

Each campaign type has dozens of templates to choose from. Simply click to select and use a template.

After that, you will be asked to enter a name for this campaign and click the ‘Start Building’ button.

Click start building

Next, you’ll enter OptinMonster’s campaign builder interface. It is a drag-and-drop tool where you can design your campaign with a live preview.

Simply drag new elements from the menu on your left and drop them onto the template. Plus, you can click on an element in the preview to edit it.

Edit your campaign template

OptinMonster also connects with all top email marketing services so you can show an email sign-up form.

You can use the campaign builder to create campaigns to add any type of content, such as a coupon code, free shipping offer, smart product recommendations, or anything you want.

Once you are done with the design of your campaign, you can click on the ‘Save’ button at the top to store your changes.

Save your popup changes

You can always edit your design to match your display rules. We will show you a few design examples tailored for different display scenarios in the next step.

Setting up Display Rules for Campaign

This is the part where you set up the display rules to decide when to show your campaign.

Inside the OptinMonster builder interface, switch to the ‘Display Rules’ tab.

It allows you to create smart rule sets, and choose from a ton of targeting options.

Select display rules

First, you need to choose the conditions to match. There are plenty of options here. Let’s take a brief look a each one of them.

1. Time-based Triggers

These triggers allow you to set display rules based on time or date. You can show your campaign content at a specific date, time, or day of the week.

Trigger on specific date and time

These triggers allow you to show custom messages designed for specific dates and times.

For instance, you can set OptinMonster to show a flash sale coupon on holidays or display a message on special events.

Halloween special popup preview

2. Targetting Users Matching Specific Criteria

The targeting section lets you set display rules based on smart recognition technology.

For instance, you can show a campaign to users coming from a specific website, referral, landing page, or geographic location. You can also target based on cookies, ad blockers, and JavaScript variables.

Select targeting display rule

As an independent publisher, you may want to ask visitors to support you by disabling the AdBlock software. You can show a message only to the users with AdBlock software installed.

Another great usage is giving special offers to visitors from a specific URL. For instance, you may want to offer an exclusive discount to users coming from an affiliate partner website.

Popup for affiliate users

3. Personalization Targeting

OptinMonster allows you to set personalized display rules based on user behavior, too.

You can show custom campaigns to new users, returning visitors, those on specific devices, users who have already converted, not converted, have seen another campaign, visited a page, and more.

Select personalization display rule

You can also use OptinMonster’s smart tags feature to display a user’s name, location, and more to show them even more personalized content.

This allows you to tailor the content to specific users.

Smart tags smart content example personalization

4. Ecommerce Display Rules

These triggers are explicitly made to boost conversions on eCommerce websites.

You can show content to users based on their shopping behavior. OptinMonster supports WooCommerce, BigCommerce, and Shopify eCommerce platforms.

Ecommerce display rules

Ecommerce targeting allows you to show content based on what products users are viewing, the number of products in their cart, the total cart cost, and more.

Bonus: Need more help to reduce cart abandonment on your online store? See our tips on how to recover abandoned cart sales in WooCommerce for some more ideas.

Once you select a condition, you will then be asked to select what to look for. For instance, if you choose a geographic location, then you will be asked to select locations that need to be matched.

Add user location for targeting

After setting up your condition, you can validate it to ensure it is set up correctly and then click on the ‘Next Step’ button.

Next, you will be asked to select the campaign view. Depending on your campaign, you can choose from the optin view (the main campaign), success view, or Yes/No view.

Show the campaign view

There are also options to add a MonsterEffect and sound effects for your campaign. Once that’s done, click on the ‘Next Step’ button to continue.

You’ll now see a summary of your display rule set. If you want, you can add more rules or simply click on the ‘Save’ button at the top to store your changes.

Publish Your Content and Add it to Your Website

OptinMonster also makes it super easy to display campaigns on your website.

Simply switch to the Publish tab inside the builder and change the ‘Publish Status’ to Publish.

Publish your inline campaign

Don’t forget to click the ‘Save’ button to store your changes.

You can now go back to your WordPress site and visit OptinMonster » Campaigns page and you’ll see your new campaign listed there.

Change the status of your campaign

If the ‘Status’ of the campaign is shown as ‘Pending,’ then click the ‘Change Status’ option under the campaign name. From here, simply select the ‘Publish’ status from the dropdown menu.

You can now test it by visiting your website while matching the conditions you set in the display rules.

Note: Clear your WordPress cache and browser cache to make sure you don’t load a cached page. You may also want to use the Incognito mode in your browser to mimic the behavior of a new user.

OptinMonster’s display rules give you many powerful options to show different content to users in WordPress without modifying your templates and code.

Essentially, it lets you leverage additional digital real estate on your site to increase your sales and conversions. With their A/B testing technology, you can easily test and improve your campaigns to drive better results.

Method 2. Showing Different Content to Users using a Plugin

This method is recommended if you want to change the entire content of a post or page in WordPress or show different variations of the same content to your users.

First, you need to install and activate the If-So Dynamic Content plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to visit If-So » All Triggers page and click on the ‘Add New’ button.

Add a new trigger

This will bring you to the page where you can create a trigger and add the content.

First, you can enter a name for the trigger at the top. Next, you’ll see a ‘Select a Condition’ dropdown menu to the left.

Add a trigger name and select a condition

The plugin offers a number of conditions based on time, date, URL, geographic location, IP address, and more.

After choosing the trigger, you can add the content you want to show users when that condition is matched.

Below that, you can add another version and use another set of rules to display different content.

Add another version of trigger

Lastly, you’ll see the default content area. This is the content you want to show the users who don’t qualify for the conditions you set above.

Once you are finished, don’t forget to click the ‘Publish’ button for your trigger.

Publish the trigger

After publishing the trigger, you’ll see the shortcode meta box appear. Simply copy the shortcode shown on the screen.

You can now edit any post or page and add the shortcode in your content where you want to display the trigger.

Adding a shortcode block to WordPress

You can now save and publish your post or page.

After that, visit your website to see the trigger in action. If you match the required conditions, then you’ll see the message you set for those conditions.

Otherwise, you’ll see the default message you added for the trigger.

View your trigger preview

Method 3. Showing Personalized Content in WooCommerce using FunnelKit

While the above solutions help you display personalized content to different users, they will not be able to do deep personalization when it comes to adjusting WooCommerce offers.

If you run an online store using WooCommerce, then you may want to show dynamic offers such as relevant upsells based on various cart conditions.

This is where you need FunnelKit, it is one of the most powerful WooCommerce plugins to grow your sales.

It lets you add custom one-click upsells or order bumps in your store, so you can increase profits without increasing traffic or ad spend.

WooFunnels Order Bump for WooCommerce

You can use their Dynamic offers to show custom upsells and make any personalization rules that you want.

Dynamic Offers and Upsells for WooCommerce

FunnelKit also comes with built-in A/B testing, so you can show different headlines, checkout designs, buttons, and more in less than 5 minutes.

WooFunnels A/B Testing for WooCommerce

Basically if you’re running a WooCommerce store and want to do content personalization than you need FunnelKit. A lot of users use FunnelKit for cart personalization alongside with OptinMonster for overall website personalization.

We hope this article helped you learn how to easily show different content to different users in WordPress. You may also want to see our guide on how to track conversions on your WordPress site like a pro and our list of the best marketing automation tools for small businesses.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Show Personalized Content to Different Users in WordPress first appeared on WPBeginner.

Dr Crash says:

Dr Crash

Behind the Scenes drummer for the Syndicated Solution