- Mar 21, 2013
- 24,772
- 31,559
So I thought I was pretty clever and I decided to boost my pages per visitor on a experimental site.
Guy would be reading the content and the page clicked one of its random links automatically, generating a new page view like a real click.
So far so good, my bounce rate went < 10% and life was good.
But then came the problems.
Google considers javascript actions as links.
For some magical clusterfucking reason the cache for the landing pages showed the page javascript redirected to.
I had made a mess of my site. Google considered the original URL like a 301 to wherever javascript clicked.
Took me 6 months to clean it up.
tl;dr; Don't boost your pageviews or lower your bounce rate using javascript, you'll fuck the whole site up.
EXTRA BLACK HAT BONUS
Unles you're a masterfucking cloaker lord and cloak out the javascript from googlebot.....but don't do this, it's likely illegal and you'll get black vans out your window and shit. Use for informational purposes only.
Guy would be reading the content and the page clicked one of its random links automatically, generating a new page view like a real click.
So far so good, my bounce rate went < 10% and life was good.
But then came the problems.
Google considers javascript actions as links.
For some magical clusterfucking reason the cache for the landing pages showed the page javascript redirected to.
I had made a mess of my site. Google considered the original URL like a 301 to wherever javascript clicked.
Took me 6 months to clean it up.
tl;dr; Don't boost your pageviews or lower your bounce rate using javascript, you'll fuck the whole site up.
EXTRA BLACK HAT BONUS
Unles you're a masterfucking cloaker lord and cloak out the javascript from googlebot.....but don't do this, it's likely illegal and you'll get black vans out your window and shit. Use for informational purposes only.