Getting Started


For website tracking, you must first create a project and then paste the tracking script onto the pages you want data on. To manage projects and to get the tracking script, go to Setup/Projects. For each project, there is a button called 'Web Script' that displays the tracking script for the project.

Important: Each project has a unique tracking script. The project id is placed within the script, so make sure to take care to use the correct script for each project.

Data should show up immediately. If it does not, see the items below to diagnose the problem.

First check to make sure you have the proper tracking script included on your web pages.

One easy way to verify if the script is installed is to visit a page on your site and use the "Edit, View Source" option in your browser. If our script is not found, you most likely have not inserted our tracking script on the page.

Then you must obtain the script (from the Setup/Projects page) and insert it on every page of your site that you wish to track data on. To get the most accurate reporting the script should be placed on every web page of your site. The script must stand by itself and is most effective when placed with in the opening "head" and closing "/head" tags. These tags are located toward the top of the html code above the "body" tags of each page.

Please note that tracking events or people requires additional tracking code. For full details, see our tracking page.

If you are still not tracking, check the section on the use of frames.

Yes. Simply create multiple instances of the tracking class, like this:

//  first project
var gator = new Aggregator({
    "projectId": "71518208"
});
gator.logPageview();

//  second project created called 'gator2'
var gator2 = new Aggregator({
    "projectId": "22323223"
});
gator2.logPageview();

Yes. In order to differentiate between pages, you can identify pages as such:

gator.logPageview('your page name');

Yes. The tracking script automatically handles secure pages without modification.