Posts Tagged ‘page frame’
Claim Your Traffic from Facebook & Digg
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);
</script>
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.