Here’s a quick tip! If you need to serve a specific script, stylesheet or any other file from your own domain, you can easily proxy it with nginx. A good example is the ga.jsĀ file for Google Analytics. Here’s how I proxy it with nginx, in the server context: # Google Analytics Proxy rewrite ^/ga.js$ /ga/ last; location /ga/ { proxy_pass ; break; } This rewrites the ga.js filename to...
Using the Google Analytics API in WordPress
There’s a great article over at Theme.fm on Using the Google Analytics Data Feed API in WordPress which covers some pretty interesting techniques to grab and make use of data stored in your Google Analytics profile, like what are your top 10 posts this month, or what were the most searched ones, etc. I’ve authored that article so feel free to ask questions ;)
WordPress & Google Analytics: Tracking Your Tag Cloud
I was doing some minor changes to my WordPress theme this week (have you noticed any?) — some SEO improvements and an easter egg ;) Anyhow, I came across my super duper tag cloud, which is one of the things I like most about my website, seriously. I heard enough people, mostly designers and UI experts say that the tag cloud is of no use! But I really really like it, which is why I decided...
More Google SEO Tips
“What are some simple ways that I can improve my website’s performance in Google?” Yeah, they are simple enough… I bet you’ve been following the Google webmaster central blog and have seen the post about their new SEO starter guide. Well, as they said, everybody knows this stuff already, but they just wanted to remind us all with one handy little guide. That’s...