Claim Your Traffic from Facebook & Digg 5

If you have been sharing links on sites such as Facebook and Digg, you may not be getting all of your AdSense revenue. Most times, when a user clicks a link on Facebook or Digg, they will see a framed page. Since your website then is inside of a “window” type frame, your site is not getting the actual traffic from that click, Digg and/or Facebook are.


There is a way to stop this from happening to you, and it is so very simple. Between the <head> and </head> tags of your website, one little JavaScript call is all you need to add. The code is as follows:

<script language=”JavaScript” type=”text/javascript”>
if (top.location != self.location) top.location.replace(self.location);

This will prevent your website from being framed in the future, and will prevent any loss of traffic and or revenue from ad providers such as AdSense.

Leave a comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

5 thoughts on “Claim Your Traffic from Facebook & Digg