How to count no. of clicks or views of an url??






Method 1:


Click Counter

CCount is a PHP click counter which can also be used as a download counter. With its help you can count clicks on any link on your website. A great tool if you want to know how many times a link has been clicked, a file downloaded ("download counter") and similar. You can also hide your affiliate links with PHP click counter. As long as it's a link - Ccount can count clicks on it!
Ccount uses flat-text database so no SQL databases are necessary. It comes with an admin panel where you can view link statistics: how many times a link has been clicked (both numerical and graphical display of stats), link with most clicks and average clicks per link. You can also easily add, edit, reset or remove links in the admin panel or even display the number of clicks on any web page.



Method 2:


How to Calculate Page Impressions


The act of loading a webpage constitutes one page impression. Page impressions are distinct from hits in that they describe the loading of a URL, whereas a hit describes the loading of each file within that URL (for instance, if there are images within the webpage, each separate file accrues an additional hit). Calculating and tracking page impressions requires the installation of analytics software. There are a wide variety of free and paid analytics applications that can be used to record page impressions and other web traffic data.

Instructions

  1. Calculating Page Impressions Using Web-based Analytics Software

    • 1
      Sign up for the web-based analytics software of your preference (see Resources for options).
    • 2
      Install the JavaScript tracking code on the web pages you wish to track. Almost all web-based analytics packages use small JavaScript applications to register visitor traffic. These scripts should be placed in the <head> element of your HTML webpage and will track a large range of data related to each visit.
    • 3
      Access your web-based analytics reporting panel to view page impression data. After installing the software, it should begin recording data immediately. As time passes, the data recorded will become more robust as the number of visits increase, and you will be able to determine average page impressions and other information.

    Calculating Page Impressions Using Server-Side Analytics Software

    • 1
      Download the server-side analytics software of your preference (see Resources for options).
    • 2
      Install the server-side analytics software onto your web server. Many of these packages rely on SQL databases to record data, so there may be a need to configure the software to connect with an additional database on your server.
    • 3
      Install the JavaScript tracking code on the web pages you wish to track. Like web-based analytics software, server-side tracking requires that you include a JavaScript application to track visitor traffic. The script should be placed in the <head> element of your HTML webpage.
    • 4
      Access your server-side analytics software administrative panel to view page impression data. After installing the software, it should begin recording data immediately. As time passes, the data recorded will become more robust as the number of visits increase, and you will be able to determine average page impressions and other information.






No comments: