Fügen Sie Ihrem Webflow-Projekt in wenigen Minuten Mitgliedschaften hinzu.
Über 200 kostenlose, klonbare Webflow-Komponenten. Keine Anmeldung erforderlich.
Fügen Sie Ihrem React-Projekt in wenigen Minuten Mitgliedschaften hinzu.
How to Maintain a User’s Cookie Preferences Across Devices
Memberscripts needed
https://www.memberstack.com/scripts/83-cross-device-cookie-preferences
Tutorial
Cloneable
Why/When would you need to Maintain a User’s Cookie Preferences Across Devices?
- Improve UX by saving users’ cookie preferences inside Memberstack and not bothering them with prompts whenever they log in from a new device.
This guide will show you how to save your users’ cookie preferences inside Memberstack, thus improving their experience when logging in from new devices.
Keep in mind that the method used in this guide will only work with the Finsweet Cookie Consent plugin for Webflow, which is a great plugin that we recommend.
The way everything works is by saving the cookie preferences inside a Memberstack custom field, thus transferring users’ cookie preferences across any device where they’re logged in.
Maintaining users’ cookie preferences across devices on Webflow
To maintain users’ cookie preferences across devices on a Webflow site, we’re going to use MemberScript #83 – Cross-Device Cookie Preferences and the Finsweet Cookie Consent plugin for Webflow. Follow the link to get the code you’ll need to add to your site and watch a video tutorial on how to set everything up.
Schritt 1
Go to your Memberstack dashboard and create a custom field called Cookie Consent.
Schritt 2
Add the Finsweet custom code to your site’s header by going to your site’s settings in Webflow and then to Custom code.
Schritt 3
Add the Memberstack custom code (?) to your site’s header.
Step 4
Add the MemberScript #83 custom code to your site’s footer.
Schlussfolgerung
That’s all there is to it, you can now go ahead and try it out with a test account across multiple devices.
If you want to use our demo project to get you started, just click the button below to add it to your Webflow site.
Our demo will allow your members to save their cookie settings on one device and have them carry over to different devices and browsers for a full sync.