When using a WordPress website, how can you show different content to different users? For example, displaying personalized content based on a user's geographic location, source of visit, or behavior.WordPress doesn't natively support this functionality, but with some tools and plugins, it's possible to personalize the display of your website's content. It will also be more friendly to newbies.
In this article, we have compiled three ways to enable personalized content to be displayed for different users in a WordPress website.
![图片[1]-如何在WordPress网站中实现个性化内容展示 | 三种简单有效的方法](https://www.361sale.com/wp-content/uploads/2024/11/20241119205326496-image.png)
Why do I need to display personalized content in WordPress?
Usually, the content of a WordPress website is displayed uniformly for all users. However, in some cases, it is desired to display different versions of content for specific users. For example:
- Provide package shipping to users in a certain area.
- Display specific promotions based on the source of the visit.
- Recommend personalized products or articles based on user behavior.
By displaying personalized content, you can better meet the needs of your users, thus improving your website's conversion rate and user experience.
Method 1: Use OptinMonster to display different content to users (website personalization made easy)
OptinMonsterIt is a powerful conversion optimization tool that supports personalized content display under a variety of rule conditions, perfect for novice users.
First, sign up for an OptinMonster account. This is a paid tool and requires a Pro or Growth plan to access all targeting features.
Visit the OptinMonster website and click "Get OptinMonster now!" button to set up an account.

Next, install the OptinMonster plugin on your WordPress site.
After activation, you will see the OptinMonster Setup Wizard in the WordPress admin panel. Next, click "Connecting an Existing Account" button to connect your WordPress website to your OptinMonster account.

After that, a new window will open.
Click "Connect to WordPress" button to continue.

Design what you want to show the user
Once connected, you can go from your WordPress dashboard toOptinMonster " Campaignand then click on "Create your first campaign"Button.

It will take you to the OptinMonster website, where you will select a campaign type and template.
OptinMonster offers different campaign types that can be used to display various types of content or targeted messages to users. These include lightbox popups, floating bars, full screens, inline widgets, slide-in popups and gamified campaigns.
For example, if you want to display dynamic content within a WordPress post or page, then you can choose the Inline Activity type.

Dozens of templates are available for each event type. Select and use a template with a single click.
After that, the system will ask for a name for this activity and then click "Start building"Button.

Next, it goes to OptinMonster's Campaign Builder interface. This is a drag-and-drop tool where campaigns can be designed and previewed in real-time.
Simply drag and drop the new element from the left menu onto the template. In addition, you can click on an element in the preview to edit it.

OptinMonster is also connected to all the top email marketing services so you can display email signup forms.
Campaigns can be created using the campaign builder to add any type of content, such as coupon codes, free shipping offers, smart product recommendations, or whatever is desired.
Once you have completed the campaign design, you can click on the top "save (a file etc) (computing)" button to save the changes.

The design can be edited at any time to conform to your site's display rules. Next we'll show some example designs tailored to different display scenarios.
Setting up display rules for campaigns
This is the part where you set up the display rules to determine when to show your site's ad campaigns.
Within the OptinMonster builder interface, switch to "Display Rules"Tab.
It allows creating smart rule sets and selecting from a large number of positioning options.

First, you need to select the conditions to be matched. There are a number of options here. Briefly describe each option.
1. Time-based triggers
These triggers allow display rules to be set based on time or date. Campaign content can be displayed on a specific date, time or day of the week.

These triggers allow the display of customized messages designed for specific dates and times.
For example, OptinMonster can be set to display limited-time rush coupons on holidays or messages during special events.

2. Targeting users who meet specific criteria
The positioning section can set display rules based on intelligent recognition technology.
For example, campaigns can be shown to users from specific websites, referrals, login pages, or geographic locations. Targeting can also be done based on cookies, ad blockers and JavaScript variables.

As an independent publisher, if you want to ask your visitors for support by disabling the AdBlock software. You can display a message only to users who have installed the AdBlock software.
Another great use is to offer special deals to visitors from specific URLs. For example, want to offer an exclusive discount to users from an affiliate partner's website.

3. Site orientation
OptinMonster can set up live display rules based on user behavior.
Custom campaigns can be shown to new users, returning visitors, users on specific devices, converted, unconverted, users who have seen other campaigns, users who have visited the page, and more.

You can also use OptinMonster's smart tagging feature to display users' names, locations, and more to show them more personalized content.
This allows you to customize content to specific users.

4. Electronic commerce display rules
These triggers are specifically designed to increase the conversion rate of e-commerce websites.
Content can be displayed to users based on their shopping behavior.OptinMonster supports WooCommerce, BigCommerce and Shopify e-commerce platforms.

With e-commerce positioning, you can display content based on the product the user is viewing, the number of products in the cart, and the total price of the cart.
After selecting the conditions, the system will ask to select what to look for. For example, if geographic location is selected, the system will ask to select the location that needs to be matched.

After setting the condition, you can verify it to make sure it is set correctly and then click "Done? Go to Operation"Button.
Next, the system will ask you when to display your activity.

There is also the option to add MonsterEffect and sound effects to website campaigns.
If you scroll down, you will also see the cookie settings for the campaign. For example, you can choose whether or not to show the campaign to users who have converted or to visitors who have closed the campaign but have not converted.

When finished, click "Finish? Go to summary"The button continues.
You will now see a summary of the ruleset displayed. More rules can be added if desired, or simply click on the top "save (a file etc) (computing)" button to save the changes.

Publishing website content and adding it to the website
OptinMonster also makes it very easy to display advertising campaigns on your website.
Simply switch to the builder within the "post" tab, and then set the"Posting Status"was changed to "post".

Always remember to click "save (a file etc) (computing)"Button.
You can now return to the WordPress site and visitOptinMonster " Campaignspage and will see a list of new events there.

If the event's "State"Displayed as "await a decision", then click on the event name under "Change Status" option. From here, simply select from the drop-down menu the "post"The status is sufficient.
Now it can be tested by visiting the site and matching the conditions set in the display rules.
Attention: Clear WordPress Cache and Browser Cacheto ensure that cached pages are not loaded.
OptinMonster's display rules provide many powerful options for displaying different content to users in WordPress without modifying templates and code.
Essentially, OptinMonster can leverage other digital assets on your website to increase sales and conversions. With its A/B testing technology, campaigns can be easily tested and improved.
Method 2: Use a plugin to display different content to the user
This method is recommended if you want to change the entire content of a post or page in WordPress, or show users a different version of the same content.
First, the If-So Dynamic Content plugin needs to be installed and activated.
After activation, you need to visit theIf-So " All Triggerspage and click "Add New"Button.

This will take you to the page where you can create triggers and add content.
First, the name of the trigger can be entered at the top. Next, you will see on the left side the "Selection conditions"Drop-down menu.

This plugin provides a number of conditions based on time, date, URL, geolocation, IP address, and more.
After selecting a trigger, you can add what you want to be displayed to the user when that condition is met.
Below it, you can add another version and use another set of rules to display different content.

Finally, the default content area will be seen. This is the content that you want to display to users who do not meet the above criteria.
When you're done, remember to click the trigger's "post"Button.

After posting the trigger, you will see the short code meta box appear. Simply copy the short code displayed on the screen.
It is now possible to edit any post or page and add the shortcode to the content where you want the trigger to be displayed.

Posts or pages can now be saved and published.
After that, visit the website to see the trigger in action. If the desired conditions are met, then you will see a message set for those conditions.
Otherwise, see the default message added for the trigger.

Method 3: Using FunnelKit to Display Personalized Content in WooCommerce
While the above solutions can help display personalized content to different users, they will not allow for deep personalization when adjusting WooCommerce offers.
If you run an online store with WooCommerce and want to display dynamic offers, such as relevant upsells based on various cart conditions.
At this point it is necessary toFunnelKitIt is one of the most powerful WooCommerce plugins to help increase sales. It is one of the most powerful WooCommerce plugins to help increase sales.
It allows to add custom one-click upsells or order increases to the store so that profits can be increased without increasing traffic or ad spending.

Their dynamic offers can be used to display custom up-sells and set any personalization rules desired.
An example can be seen in the image below.

FunnelKit also comes with built-in A/B testing.
As a result, different titles, checkout designs, buttons, etc. can be displayed in less than 5 minutes.

Basically, if you run a store with WooCommerce and want to personalize content, you need FunnelKit, which is used by many users for shopping cart personalization, as well as OptinMonster for overall site personalization.
summarize
With tools like OptinMonster, If-So Dynamic Content, and FunnelKit, it's easy to personalize your WordPress site's content to meet the needs of different users, thus improving user experience and conversion rates.
Comparison of Applicable Scenarios:
methodologies | Applicable Scenarios | specificities |
---|---|---|
OptinMonster | Personalized display of site-wide content | Rich rules and support for multiple content formats |
If-So | Dynamic page content changes | Easy to use, short code implementation |
FunnelKit | WooCommerce Store Optimization | Focus on e-commerce scenarios to boost sales |
By choosing the right tool for your needs, you can quickly personalize your WordPress website.
Link to this article:https://www.361sale.com/en/27159The article is copyrighted and must be reproduced with attribution.
No comments