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!
02-19-2020 01:28 AM
Also, I have checked the box in ISE under:
Administration > System > Settings > Portal Customization: Enable Portal Customization with HTML and JavaScript
05-07-2020 06:29 AM
Hi
Have you solved it yet?
How did you do?
Regards
Lars
05-07-2020 10:47 AM
05-07-2020 11:45 AM
05-07-2020 10:38 PM
Okey, lets keep this thread updated when we get more info.
07-03-2020 01:26 AM
Hello folks,
I was having the same issue and basically the only option I found is to go with DNA Spaces. I've contacted DNA Spaces support team and told them about an issue I am having; they added snippet manually on backend to the portal. You do need to have customer’s DNA Spaces account and which portal you would like to add snippet (some customer got more portals).
CMX is no go, I was not able to find any proper way adding snippet there.
Hopefully this helps a bit.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide