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

Memberium Admin — 

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.

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.

Related Elementor Posts