Check out our blog post for more information
What Are Custom Experiences
- User roles – Is logged in, is not logged in, role, registration date, name, number of comments.
- Post or Page – Control which pages, title, category tag, status, author and more.
- Time & Date – Set dates, times, days of the week, days of the month and month.
- Request data – Cookie, post variable, URL query string.
- Referral – URL, domain, post, page, category, tag.
What is a Default Experience
How to Create a Custom Experience
URL Parameter Example
Set the Priority of the Custom Experience
Show or Hide content based on if a user is logged in or logged out
You can also choose to show/hide content if a user is logged into your site or logged out. For this, I set the Experiences on the Section.
Logged out users would see a login form.
Logged in users would see the access links to their courses.
Here is how I set that up in the Section Element’s Custom Experience Wizard for the “Logged in” custom experience. Note that the default experience would be for those who don’t meet the logged in criteria, so that would mean they would have to be logged out in order to see the login form.
Saving Global Conditions
You can save your Custom Experiences Conditions as Global Conditions, to be used on other elements, sections, rows if you want.
To save a Global Condition, just click the gear icon on your Custom Experience.
Now, a very important step in this process is to give the Condition Set a name other than the default (if you use the default name more than once then you won’t be able to save it). Hover your mouse over “New custom experience condition set” and you’ll see a pencil icon
Click the pencil icon to change the name to something else. See below I have changed the name from the above (Tip: once you click away from naming the condition set then it saves that name).
Now, to save the condition set as a Global Condition Set, we are going to click “Save as Global” like you see below:
Once you save it, you’ll see the blue Global icon on the right side, and the condition set is no longer editable (for now)
Editing Global Conditions
To edit a global condition, open the Custom Experiences Criteria Wizard, and click the icon next to the blue Globe (3 horizontal lines). Select “Edit global conditions set”
When you are done editing, make sure to click the “Save” link below the rule. Any updates made will also impact any other elements where you have used the same Global Condition Set
Using Global Conditions
Now that you have saved a Global Condition Set and know how to edit them, lets see how we can use this with another Custom Experience. Once you add the Custom Experience (see beginning of article on how to do that) then you can choose the Global Condition Set.
Click “Select a global condition”
Then select the Global Condition you wish to use
Once you selected the Global Condition Set to use, then make sure to save the Custom Experiences Criteria
That’s all there is to using your saved Global Condition Set
Deleting Global Conditions
If you want to delete a Global Condition Set, just go into the custom experience condition set and click the icon next to the globe element (3 horizontal lines icon) and then select “Delete global condition set”
If you are sure you want to delete it, then click “yes” on the warning about deleting the Global Condition Set
Conclusion
Wow! Wasn’t that awesome!! 🙂
While we showed you the basics here of how to use Custom Experiences, there are many different setups you can use for Custom Experiences.
If you need any help with finding the right setup for what you want to do, just reach out to us in support and we’ll be more than happy to help.
Troubleshooting Tips
Error when trying to save Global Conditions
If you get the following error while trying to save a Global Condition Set, you’ll need to ensure that you are not re-using the same name or re-using the default name for the Global Conditions as you can not use the same name twice. You can see in the example below that the error message indicates that I basically already have one saved with the same name.
The solution is to hover over the name, and click the pencil icon to rename it.
Once you give it a new name then try to re-save the condition as global and it should work.
I deleted a Custom Experience. Why did my content disappear?
When you created the custom experience, you could modify the content for it. Without the custom experience, there is no way for that content to exist anymore. Before you delete any Custom Experience, if you want to save the content, then you should try to save the content by either exporting it, or marking it as a global element.