Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember the version for recurring visitors #26

Open
juanpablob opened this issue Mar 1, 2022 · 0 comments
Open

Remember the version for recurring visitors #26

juanpablob opened this issue Mar 1, 2022 · 0 comments

Comments

@juanpablob
Copy link

juanpablob commented Mar 1, 2022

Hello there! First, I'd like to thank you for this Vue Plugin, it was a bit hard to find something as simple yet functional like this! :)

I have a quesiton: Although the version is stored in local storage, if I refresh the page, the version keeps changing between A and B based on the weight / chances, but if a visitor comes to the website by the first time and the plugin was serving at the time the version B, I'd like the plugin to remember the B version, so whenever they come again, they will see the B version, not the A or Z. Is there any chance to achieve this?

The reason for doing this is that I'd like to offer to the user a specific version of a feature, let's say a WYSIWYG editor, so the version A has a toolbar for text formatting and the version B is just plain text. If one of our users comes into the app/website and starts using the version A of the editor makes sense to serve the same version and not a different one every time they come, if that makes sense?

Thank you again and looking forward to hearing from you! 🎉

✌️

@juanpablob juanpablob changed the title Remember the version for future visits Remember the version for recurring visitors Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant