Divi + Infusionsoft by Keap Integration: How to Show or Hide Divi Builder elements with Infusionsoft Tags

Memberium Admin — 

In this post, we’ll show you how to conditionally display or hide Divi Builder modules based on a member’s existing Infusionsoft by Keap tags, current membership level or based on the user’s current login status (logged in or logged out).


How to Access the Protection Options

First of all, let’s open the page in the back-end and see the Divi modules on the page. Once we have that opened, we need to click on the “hamburger button” next to the Divi module/element for which we want to change content protection.

Now, you should see a pop-up window like on the image below. Once there, you should navigate to the “Advanced” tab and scroll down just a little bit, until you see “Memberium” headline. Under “Memberium” headline, we will see content protection options which we can select in order to protect that specific Divi module.

Click to View Larger


Please note that you can have different content protection for each of your Divi modules, regardless of the page content protection and regardless of content protection of other Divi modules.

Protection Options

Let’s go through the different protection options.

Any Membership Level

This option will automatically activate all of your membership levels. This means that if a user has any of your memebrships they’ll be able to see the content. For instance, if you have 3 membership levels, bronze, silver, or gold, then a user would need just a single one of those to see the content.

Your Different Membership Levels

The options you’ll see in this section depend on what membership levels you’ve set up in Memberium. For example, if you have the following two memberships setup then you’ll see this in the Memberium protection options:

Two membership levels in Memberium

Membership Levels in Divi

You can individually turn a membership level on or off. If the membership is on, then users with that membership will be able to see the content. If it’s off, then users that have that membership won’t be granted access. It’s important to note that if a user has two memberships, one that gives access and one that doesn’t give access, the one that gives access will take effect.

Any Logged In User

Enabling this option will allow any user that’s logged into the site to see the protected content. There are no dependencies on tags, membership levels, etc.

Logged Out Only

This option is very similar to the one above except it works in the opposite way. Only logged out users will be able to see the protected content with this enabled. This is useful for protecting login forms or other content that wouldn’t apply to someone who is logged into the site.

Require Tag IDs

The Require Tag IDs option allows you to select from your Infusionsoft tags one or more tags required for access. If you select multiple tags, the user does NOT need to have all of them – only one of them. For instance, if you select Gold and Silver, the user could see the content by just having the Silver tag.

In addition, you’ll see all your tags have a “Does Not Have {tag name}” option. This allows you to require users don’t have a certain tag to see a particular module/content block.

AND Require Tag IDs

This box works exactly the same as the previous option (Require Tag IDs) except that it allows you to require the user to have a second tag in addition to the tag in the first box. To better explain how this works, please see the image below and we’ll explain what would be required to see the protected content:

In this case, the user would need one tag from the top box (Green or Red) AND they would need one tag from the bottom box (Gold or Platinum). The important thing to remember is that users will need a single tag from each box in order to access the content. Sometimes we have customers think it’s one tag from the top plus ALL tags from the bottom, but that’s not how it truly works.

PHP Boolean Expression

Lastly, we have the PHP Boolean Expression. This option allows you to input true/false PHP functions (Booleans) that can control the visibility of your Divi content. Most of our users won’t need to use this feature as the previously covered options will more than satisfy their content protection needs.

  • Was this Helpful?
  • YesNo