Hi all is it possible restrict dynamic page access to a set number of views per device or ISP on particular pages and then control subsequent dynamic page access by membership using code?
I would like to be able to allow users to view various dynamic pages as both registered (signed up/logged in - users) and guests which is currently the case but when page views associated with a particular device or ISP are exceeded, require the user to subscribe as a premium member and use their email address for example as the unique identifier to access the pages that were previously restricted
So for particular device all you have to do is to use storage (local) to count the timed. https://www.wix.com/corvid/reference/wix-storage.html#local
But that won’t work if the user clears the browser cache or used the incognito/private mode.
If you want to cover these cases you’ll need to store the page visits in the database, and retrieve them once the user enters the page (you can have a combination of local storage and db collection as well).
As for the ISP, I’m not sure what exactly you want to do. Did you mean IP?
So in the grand scheme of development complicatedness is this something that I could implement with relative ease for both logged in and non logged in users?
For IP you should use a third party.
For specific devices (wix-storage) or specific users (db collection), you can do it with pure Corvid. It’s not very complicated.