How to fix Memberstack content gating breaking when CMP is enabled on Webflow site? Answered
We are using a webflow page with the Memberstack Integration and I am gating Content based upon the plan that the user has.
As long as we do not use a CMP (Consent Management Programm) everything works as it should, but as soon as we activate a CMP all gated content appears for visitors who do not even have an account.
Obviously there is something I need to change in the CMP/Cookie configurations, but I am wondering as well:
How can (not having cookies - which is basically the function of CMP if I understand it correctly) make gated content available?
I would have understood if the corresponding gated content would not be showing although it should be, but the other way around?
All help is very much appreciated.
Comments
1 comment
Hi Eyk,
I'm sorry to hear about the challenge you're facing.
When you activate a Consent Management Platform (CMP), it typically restricts the use of cookies until the user gives consent. This can affect how Memberstack tracks user sessions and manages access to gated content. Here are a few points to consider:
1. Cookies and User Sessions: Memberstack relies on cookies to manage user sessions. If cookies are blocked or not set due to the CMP, Memberstack may not be able to identify whether a user is logged in or what plan they are on. This could lead to gated content being displayed to users who should not have access.
2. CMP Configuration: Check your CMP settings to ensure that it allows necessary cookies for Memberstack to function correctly. You may need to whitelist certain cookies or adjust the consent settings to ensure that Memberstack can set its cookies after user consent is given.
3. Testing Without CMP: Since you mentioned that everything works fine without the CMP, it would be beneficial to test the CMP settings incrementally. Start with minimal restrictions and gradually increase them to identify which specific setting is causing the issue.
I hope this helps.
Please sign in to leave a comment.