If you are even mildly flexible on price, you may wish to look at Matomo, formerly Piwik . It is a 100% open-source web analytics platform. While it does require a server to run some basic software, the tracking is done with a small snippet of Javascript (so the monitored pages do not necessarily have to run on the same server as Matomo).
I want to view the website traffic using a free service.
It may be possible to run Matomo for free but (as a small hassle-saver) you may want to look at their own analytics service, which has (arguably) reasonable monthly rates currently.
That said, being open-source, you can set up your own service for as little as possible. The source code is free, based on common web technologies (PHP, Javascript, HTML, CSS) and the basic setup is relatively easy. As small caveats, it does require a MySQL database and PHP with PDO extensions enabled for MySQL.
Regarding any costs involved with this second option, they likely rely entirely how you approach it :
University Servers - If there is an opportunity to self-host on your university servers, this might be a good avenue to explore.
Free/Low-cost Hosting - There certainly some free or low-cost hosts (a few dollars a month) that provide PHP and MySQL, but since PHP PDO support is technically optional, hosts may not have it enabled. Note that you can check PHP PDO and PDO_MYSQL support (both required) with <?php phpinfo() ?>
. Simply place this in a .php document by itself, upload it to the server and navigate to the page it generates to see if these items are listed alphabetically.
Web App Hosts - Web App services such as RedHat OpenShift (which has a free tier) may be another option to consider.
Self-hosting - For simple analytics, you may be able to run a minimal setup yourself (such as a Raspberry Pi or another older computer). This is obviously more involved as it requires running a small web server, but it's not impossible. PHP and MySQL are both free and have solid support on Windows and Linux. Likewise, well-known web servers Apache and Nginx are both free and have cross-platform versions as well. For your analytics domain, free Dynamic DNS subdomains are available from a number of providers or you can use a DotTK if you want a "real" domain at no cost (though a real domain will require a free DNS service).
1I (like the other voter) voted to close because software / shopping recommendations are off-topic for this SE. – davidgo – 2018-01-11T08:22:43.393
So, where can I ask my question? @davidgo – Patris – 2018-01-11T08:39:24.423
I edited my question. @Biswapriyo – Patris – 2018-01-11T08:39:50.317
Don't know which SE is suitable, if any. Webmastes SE would be a better fit, but they also seem to have a policy against recommendations of external websites. Maybe you can restructure your question about how to collect analytics from your site without using GA ?? (BTW, Alexa is not the answer to your problem. You either need to get the stats off your site from the uni, create your own stats, or use an external service which imbeds some tracking code - which is how Google works.) – davidgo – 2018-01-11T09:34:19.413
1
Ask it in Software Recommendation SE.
– Franklin Yu – 2018-01-11T14:23:25.9331
You are asking an off-topic question (software shopping). Questions seeking product, service, or learning material recommendations are off-topic. See On Topic. Try https://softwarerecs.stackexchange.com/ but please first read What is required for a question to contain "enough information".
– DavidPostill – 2018-01-11T20:56:22.030