Open your mikrotik terminal and paste the commands below
/ip hotspot walled-garden ip add dst-host="www.google-analytics.com"
/ip hotspot walled-garden ip add dst-host="www.googletagmanager.com"
/ip hotspot walled-garden ip add dst-host="www.ccc.google"
As of writing Google tag manager is only available for the Version 5 of the captive portal on Netpap.
Head over to Google tag manager an register an account and container for receiving tag that fire on your captive portal.
Copy the tag id and paste it to company details on Netpap -Google tag field and save the tag
AVAILABLE TRIGGERS FOR TRACKING
Add the following tags please note the filters coming from netpap
Powered by BetterDocs