问题原文
原帖链接 · Shushi · CC BY-SA 3.0
I have a site (based on dynamic content by JS) and I want to trigger a first time popup to users in order to make them register to the newsletter (it will be cookies based).
Is there a way to do that without cloaking/manipulating user-agent for bots? I don't want the search engine bots to see that popup all the time (because they don't accept cookies) - it will harm the SEO.
Does verifying if agent is accepting cookies and based on that show/don't show the popup is consider cloaking? Or is that a wise way to handle the scenario?
已采纳解答
原帖链接 · Simon Hayter · CC BY-SA 3.0
It's not possible without some form of batman and robin cloak
There is absolutely no way without some form of cloak to prevent Google seeing that pop-up. Google expects you to treat Googlebot as new visitor every time. Just because Google doesn't store a cookie doesn't mean you should treat them as a returnee.
Google has to consider both new visitors and the returned
Google has to factor new visitors since the majority of your visitors coming from Google will be 'new' visitors, why should they care about returnees that may not even use Google to view your site.
Visiting your favourite site to find some obscure content is a like putting on your favourite t-shirt only to find out its still damp
Purposely obscure content dampens users experience and one of the reasons why preventing Google seeing that is definitely cloaking, regardless if its once, or a hundred times, Google has new visitors to factor. However it should be noted that Google has not officially said that such overlays, modals and popups will result in lower rankings on the desktop environment, this does not however insist that they don't already have some form of unconfirmed algorithm, or add it later.
Mobile Only: Google has stated that in 2017 it will rank such sites lower
Pages that show intrusive interstitials provide a poorer experience to users than other pages where content is immediately accessible. This can be problematic on mobile devices where screens are often smaller. To improve the mobile search experience, after January 10, 2017, pages where content is not easily accessible to a user on the transition from the mobile search results may not rank as highly.
Your two choices are:
- Cloak it using user agent, hostname or IP
- Remove it for both users and search engines
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
