iframe referrals

Developers
OLO
2008-09-05
2012-10-11
  • OLO
    OLO
    2008-09-05

    We have an iframe set up on a client's site. It registers as a hit in our awstats, even though there is no click through. Is there any way to block traffic from a specific url?

     
    • OLO
      OLO
      2008-09-25

      Thanks. This was great help.

       
    • Jean-Luc
      Jean-Luc
      2008-09-06

      Hi,

      To exclude the hits on /iframe/example.html from the statistics, use:

      SkipFiles="/iframe/example.html"

      Jean-Luc
      http://www.internetofficer.com/awstats/

       
      • OLO
        OLO
        2008-09-06

        Where do I find the Skipfiles? I ddin't find it in our reporting page. (AWstats came with our bluehost) Do I place this in our html?

        I am a web idiot. Sorry.

         
    • Jean-Luc
      Jean-Luc
      2008-09-07

      SkipFiles is a directive in your AWStats config file. Your AWStats config file will be called awstats.name_of_your_domain.conf.

      Depending on your hosting company and your hosting plan, you will be able to edit the config file or not. In doubt, ask the support people of your hosting company.

      Jean-Luc
      http://www.internetofficer.com/awstats/

       
    • OLO
      OLO
      2008-09-25

      Jean-Luc,

      I placed the SkipFiles in the conf. We are still getting click throughs.

      I placed

      SkipFiles="http://podcast.outloudopinion.com/ibd/ibd2.php"

      Did I do something wrong?

       
    • Jean-Luc
      Jean-Luc
      2008-09-25

      Your entry is not correct. It should be:

      SkipFiles="/ibd/ibd2.php"

      To exclude the same URL with all possible query strings, use:

      SkipFiles="REGEX[^\/ibd\/ibd2.php]"

      Jean-Luc
      http://www.internetofficer.com/awstats/

       
    • OLO
      OLO
      2008-09-25

      Great,

      I uploaded the new conf.

      How long before it takes effect?

       
    • Jean-Luc
      Jean-Luc
      2008-09-25

      It will not change what is already in AWStats database. It will be effective for all new data that is read from the log files (i.e. at your next update of the stats).

      Of course, if you delete your existing AWStats databse files and run a complete new stats update, it will be effective immediately.

      Jean-Luc
      http://www.internetofficer.com/awstats/