Elementor + ActiveCampaign Integration: How to Protect Elementor Blocks Using ActiveCampaign Tags & Memberium

This Article Applies to
OTHER Articles Available

This guide will cover how you can use Elementor along with Memberium for ActiveCampaign to quickly and simply build your site and protect your content without the need to know any HTML, CSS, or Shortcodes.

Elementor is a simple to use, drag-and-drop page builder for WordPress. Memberium for ActiveCampaign integrates with Elementor so that you can protect individual elements with membership levels, tags, and other options. This allows you to show or hide content based on certain conditions you configure in Memberium for ActiveCampaign.

A common use case for this is showing links or even content to people who have purchased it while showing different content (sales content) to people who haven’t purchased yet.

Memberium provides all of the commonly used functions from the Content Protection Metabox for use inside Elementor.

The advantage of using the Memberium Elementor integration is that you don’t need to use any shortcodes.

Notice

To ensure the integration is present, make sure you’re using the latest version of Memberium.
If you’ve created the page using Elementor and under Content Protection the prohibited action is “Show Excerpt only”, then the content of the page/post will still be shown and not protected. This is a known Elementor limitation. We’d suggest you to protect the page using “Redirect” or “Hide Completely” as the prohibited action.

How to Access the Protection Box in Elementor

Open Elementor, click on the section or element, and then go to the advanced tab.

Protection Options

Membership Levels

The most common protection option will be membership levels. If you want to allow only a certain membership level to see a section or element, simply turn on the switch for that membership level.

In this example, only members with the “Drivers” membership could see the protected element.

Require Tags

Another popular option is to protect content with tags. In this case, a member would need to have my “Gold” tag in order to see the content.

You can also place multiple tags in this box which would require the user have any of the tags. If you want to require two tags, place one tag in the top box and the other tag in the box below labeled “AND require Tag IDs”.

Logged In / Out Status

To show something only to members who are logged in, enable the top option “Any Logged In User”. To show only to logged out users, switch on the bottom setting.

Contact IDs

If you only want a certain member to see an element or section, you can enter their ActiveCampaign contact ID in this box. Only that user will be able to see the content.

PHP Boolean Expression

This option allows you to use advanced or even custom protection options with the use of PHP code such as is_user_logged_in(), memb_hasMembership(), etc.
Here is a list of Memberium provided functions.

Example Use Cases

How can I protect something with multiple membership levels?

 

To allow multiple membership levels to access protected content, just switch the desired membership to ON. In the example here, both Drivers and Promoter members would be able to see the content.

This would not require a member to have both membership levels. If you want to require both membership levels, read the next example.

 

 

How can I protect something that requires a membership and a tag (or two membership levels)?

To require a membership level in addition to a tag, you’ll first switch on the membership level you want to protect with. In this example, I chose the Driver membership level.

Then to require a tag you come to the Require Tag IDs box and select the tag there. You can also put a membership tag in this box to require two membership levels. In my case, I chose the Promoter tag which is associated with a membership – meaning the user would need to have the Driver and Promoter memberships to see the content.

 

 

How can I show something only to users that don’t have a membership or tag?

Maybe you’re wanting to show an upsell offer on your site to members that don’t already own your Gold membership.

Using the Require Tag IDs box, you can put a “-” before the tag ID to reverse the protection. You can see in the screenshot that it says “Does Not Have” before the tag name. This means that only users without the Gold tag/membership would be able to see this offer.

Using the Login widget?

If you’re using the Login widget (which is only available on Elementor Pro) then you’d need to enable the “Redirect after login” option and add the URL as “/wp-admin/“.

elementor login

Configuring as per this will ensure that Memberium redirects the user to the correct membership homepage.

Related Elementor Posts


9 ways to add more value to your membership site

Table of Contents

This Article Applies to

Related Posts

How to Configure WP Engine to run Memberium

When installing on WP Engine, you will need to contact WP Engine support and request that they turn off the “redirect_bots” setting, and purge the cache. If this setting is not disabled, then it will not be possible to send HTTP POSTs to your app, as the WP Engine server will intercept and stop them from succeeding. You’ll need to send a support ticket to WP Engine Support and ask them to allow your posts to contain variables.

Read More »

Text Formatting

Many shortcodes will allow you to output date and time information. Rather than confine you to a preformatted date style, we use the standard PHP / Unix date formatting model for describing the way the date information should be output.

Read More »

Ready to See How You Can Automate Your Course or Membership With Memberium for ActiveCampaign?

Watch this quick demo video to see how Memberium works. Discover how thousands of successful business owners use Memberium to sell their membership programs and how you can too! If you’re ready to get started, you can check out our plans and pricing here…