How to get keywords used in the search engine

I am using C # asp.NET and I have searched internet up and down trying to find a solution to this problem. In google analytics, they have keywords used by search engines, so there must be a way to do this. thank

+2


source to share


2 answers


Do you mean identifying the search keywords that brought users to your site? This is done by parsing the referrer URL.

string referrer = Request.UrlReferrer.ToString();

      



Most of them are pretty simple, but there are different templates for different search engines.

+4


source


I found out that besides implementing my own algorithm for extracting keywords, I can use Google Analytics to do this. Google has an api for their analytics software and this is what I used. The only tricky part: if you have over 10,000 pages, you need to open an adwords account.



0


source







All Articles