Answer the question
In order to leave comments, you need to log in
Programmatic determination of the search engine keywords by which the user came to the site. Is it possible?
I have already asked this question before . Is it possible to determine what key phrases a visitor came to the site for?
But, as it seemed to me, they did not understand me.
I'll try to describe an example of the situation, what I mean. Suppose that on the site of an online store it is necessary to determine the source of the client's arrival (in php this can be done via HTTP_REFFERER) and if it is a search engine, then determine the key phrases by which the client came. This is necessary, say, in order to give the user some specific content that depends on the very keys by which he came to the site. The example is fictional. I'm just trying to show them what I need, at the moment a visitor comes to the site, to know what keys he came by, so that my php script can accept this data and somehow respond to it.
I have already been advised to use the same HTTP_REFFERER for this, supposedly it passes keywords in the source URL, but this is not so. When switching from a search engine to a site, a bunch of redirects occur and we no longer see the keys. The maximum that you can know is only the source, the address of the search engine from which they came.
Someone advised using the Yandex Metrics API. But I didn't find a solution there either. Their API allows you to get a variety of statistics and data, but does not make it possible to determine the data for a particular visitor at a particular point in time. Or I just didn't find it.
But I know that somehow this issue is resolved. After all, there are definitely ways to determine the keys by which the visitor came. Maybe someone will tell?
Answer the question
In order to leave comments, you need to log in
in Yandex soon it will definitely not be possible , but right now it seems still possible (the conclusion is drawn logically from what was read)
googleblog.blogspot.ru/2011/10/making-search-more-...
Simply put, it is impossible to determine exactly from Google.
For some time now, search engines have decided (and, in general, not without reason) that this information is too private to transfer it to everyone just like that, without the knowledge of the user.
For Google , here are some tips for getting out of the situation. I also heard that the keywords are passed if the click is on an https link.
who was on the sidelines of Yandex, he knows that the phrase "need more gold" is echoing there.
in view of this, Yandex closed the referrer, so that people like you would not slip a user who is not suspecting anything about scripts what he is looking for and get profits "for this", but would go to direct.
the easiest option with at least some guarantees is to create good and high-quality landing pages and think about the principle of picking satellite products.)
Well, rel=canonical will help you)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question