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 Aeon web pages to facilitate data collection by following the steps below:
-
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:
and end with:<!-- Google tag (gtag.js) -->
</script>
- Open the include_head.html file in your Aeon web directory
- Copy and paste your entire Google tag on a new, blank line at the end of the file
- Save the file. This will enable Google Analytics tracking for all web pages in your web directory except for the Logon web page (Logon.html)
- If you would also like to track Google Analytics statistics on the Logon web page, locate and open the Logon.html file in your Aeon web directory
- Create a new, blank line directly above the line of code for the </head> closing tag on the Logon.html file (default line 18)
- Copy and paste your entire Google tag on this new line, e.g.:
<head>
<title>Aeon - Logon</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta data-name="aeon_wpv" data-bn="v5.2.3" data-bid="23610" data-cid="71408a27c94df739571fb6d4ac94a4d16b0e649a" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="apple-touch-icon" href="iphone-icon.png">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="css/aeon.css">
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link rel="stylesheet" href="css/cookieconsent.min.css" /><!-- Google tag (gtag.js) -->
[your Google tag code here]
</script>
</head> - Save the file
- Google Analytics tracking is now enabled for your Aeon 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 Aeon authentication and one for remote authentication, then this change should be made to the include_head.html and Logon.html files in each directory.