02-14-2020 12:00 AM - edited 07-05-2021 11:42 AM
Hi all
We are currently installing APs for the WiFi4EU-project and are stuck on getting the captive portal to work accordingly to the documentation.
Accodring to the "Implementation Gudie" we need to add a javascript(JS) to the top of the head tag in the captive portal.
"To obtain correct metrics it is important that the code is located at the top of the<head>tag."
We can't find any product the let us do this.
Have tryed with Cisco CMX (10.3), Cisco DNASpaces and Cisco ISE(2.6).
In Cisco ISE we can add our own JS-files, but it won't let us connect to external JS-sources.
The guide state that we need to add this to the head-tag:
<script type="text/javascript">
var wifi4euTimerStart = Date.now();
var wifi4euNetworkIdentifier = 'NETWORK_IDENTIFIER';
var wifi4euLanguage = 'PORTAL_LANGUAGE';
</script>
<script type="text/javascript" src="https://collection.wifi4eu.ec.europa.eu/wifi4eu.min.js"></script>
Then add this to the body tag:
<imgid="wifi4eubanner">
Have any of you managed to install WiFi4EU captive portal with any of the Cisco products mentioned above?
Thanks!