Analysis of Google Webmaster Tools search data
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gwt_ka
test
.gitignore
README.md
run_keyword_analysis.py
setup.py

README.md

Google Webmaster Tools Search Referral Analysis

This code analyzes search referral data from Google Webmaster Tools.

To run the analysis on your site, first download a data set of search data:

  1. Go to "Traffic > Search Queries"
  2. Select a date range
  3. Select "Show [500] rows"
  4. In the URL, replace "grid.s=500" with "grid.s=10000" (or some very large number)
  5. Click "Download this table" to download the CSV file.

Then, define the branded keywords for your site in run_keyword_analysis.py. You need to modify the regular expression re_branded.

Finally, run python run_keyword_analysis.py -c CSVFILE -o OUTPUT_DIRECTORY to run the analysis. This writes a few plots plus a list of all branded keywords to the output directory.

Dependencies

This was developed in Python 2.6/7 and built on top of numpy and matplotlib.