How to implement this chip?
Basically you need statistics requests from google.
Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .
I read about it ... In general, it was quite realistic when google worked via http. The request could be obtained via HTTP_REFERER. Now, when it works via https, the referrer is not transmitted. So, as far as I understand, there is no way. But such a chip is quite possible with Yandex.
Yes, the method for Yandex (well, for old Google) is described in this article . I will not copy it all here, I hope it’s not difficult for you to follow the link.
Google Analytics, their API and Traffic Sources / ga: keyword ?
If you are using a visitor
GAPI php interface
Source: https://ru.stackoverflow.com/questions/299290/
All Articles