#85 Understanding Search Engine Traffic

Script #84, Exploring the Apache access_log, can offer a broad-level overview of some of the search engine queries that point to your site, but further analysis can reveal not just which search engines are delivering traffic, but what keywords were entered by users who arrived at your site via search engines. This information can be invaluable for understanding whether your site has been properly indexed by the search engines and can provide the starting point for improving the rank and relevancy of your search engine listings.

The Code

#!/bin/sh

# searchinfo - Extracts and analyzes search engine traffic 
 indicated in the # referrer field of a Common Log Format access log. host="intuitive.com" # change ...

Get Wicked Cool Shell Scripts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.