Follow

Installing AGF Tracking Code

Angelfish Software supports multiple visitor tracking methods. The AGF tracking method is recommended, as it allows you to take advantage of the most features & reports within Angelfish.

Follow these steps to install the AGF tracking code on your website(s).

 

1) Upload JavaScript and GIF File

The AGF tracking method requires two files:

  • angelfish.js   (JavaScript tracking code)
  • agf.gif             (tracking beacon)

There are 2 ways to get these files:

  1. From Your Instance: both files are in the /www/agf/ subdirectory of your Angelfish root directory.
  2. From Our Website: use the Custom Tracking Code Generator to create angelfish.js, and copy agf.gif

Upload these files onto the website that is going to be tracked by the Angelfish.  We recommend placing both files in the root directory of the website, but they can be placed in any directory as long as you edit the tracking code to point to that directory.

 

2) Paste Tracking Code

Paste the following code in the HTML at the top of every page you want to track. The easiest way to accomplish this is to use a header template - most CMS platforms have one. 

 

<script type="text/javascript" src="/angelfish.js"></script>
<script type="text/javascript">
agf.pageview();
</script>

 

The AGF tracking code will track unique visitors and record a pageview every time a new page is loaded by a user's browser.  The AGF code also provides tracking for:

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.