Configuring Google Analytics on the Ares Web Pages

Print Friendly and PDF Follow

As of July 1st, 2023, Universal Analytics (UA) has been deprecated by Google and replaced by Google Analytics 4 (GA4). For more information on the potential impact of this change, please see Google's documentation.

If using Google Analytics to track web traffic across your institution's web pages, your Google tag can be added to your Ares web pages to facilitate data collection following the steps below:

  1. Locate your Google tag within the Google Analytics interface (for more information on accessing your Google tag, see the "Add the Google tag directly to your web pages" section within the Google Analytics documentation)

    Your Google tag will begin with:
    <!-- Google tag (gtag.js) -->
    and end with:
  2. Open the include_head.html file in your Ares web directory
  3. Copy and paste your entire Google tag on a new, blank line at the end of the file
  4. Save the file. This will enable Google Analytics tracking for all web pages in your web directory except for the Logon web page (GLogon.html)
  5. If you would also like to track Google Analytics statistics on the Logon web page, locate and open the GLogon.html file in your Ares web directory
  6. Create a new, blank line directly above the line of code for the </head> closing tag on the GLogon.html file (default line 12)
  7. Copy and paste your entire Google tag on this new line, e.g.:
    <meta data-name="ares_wpv" data-bn="20210428.1" data-bid="15789" data-cid="772fedcec03967af8ad988135391d5269e08cac8" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Ares - Logon</title>
    <link rel="stylesheet" type="text/css" href="css/main.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
    <!--[if lte IE 6]>
    <link rel="stylesheet" type="text/css" href="css/ie6_or_less.css" />
    <!-- Google tag (gtag.js) -->
    [your Google tag code here]

  8. Save the file
  9. Google Analytics tracking is now enabled for your Ares web pages. Note that it may take up to 30 minutes for data collection to begin after your changes are saved.
Note: If you are using multiple web directories, for example, one for Ares authentication and one for remote authentication, then this change should be made to the include_head.html and GLogon.html files in each directory. Similarly, if using the LMS web pages along with the default web pages, please apply the changes to the files noted above in both sets of web pages.


If this article didn’t resolve your issue, please contact Atlas Support for assistance:

Contact Support