Mobile app version of vmapp.org
Login or Join
Voss4911412

: Age verification in website I am working on a website for a client that is requesting a way to verify your age. I have debated on creating a cookie that stores your age but I am unsure

@Voss4911412

Posted in: #AgeVerification #Cookie #LandingPage #Seo

I am working on a website for a client that is requesting a way to verify your age. I have debated on creating a cookie that stores your age but I am unsure on a few things.


How does SEO play into this if I create a landing page prior to the physical address?
Is there a better way to possibly go about doing this other than a cookie?
Should I create a separate page or code it within the header of the index page?


This is something similar I am trying to accomplish.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Voss4911412

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kaufman445

With regard to SEO, the content of the site may not be accessible to crawlers unless you provide a means of distinguishing crawler traffic from human users. You could parse the user agent string and allow traffic from search engine crawlers to bypass the age gate. Ordinary users would not know how to exploit this to not have to verify their age, so I don't think this is an issue. For Google, see support.google.com/webmasters/bin/answer.py?hl=en&answer=1061943. Otherwise, if the crawler can access the page, there should not be a significant impact on SEO (but see below).

With regard to how to store this information, doing it server-side requires a means of identifying the computer users are accessing the site with, so this isn't really an option. The only other realistic choice is HTML5 Local Storage, which won't work with older browsers, so cookies are probably the best way to go.

Coding the age gate into the header of the index will not work for other pages. You could reference the code in every page of the site which must remain behind the age gate, which this would make it easier for crawlers to read the content, but you must remember to place the reference on every page on the site which requires it, and the age gate may end up in the search engine's index, which may not be what you want.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme