How To Add Google Tag Manager to your Captive Portals

Mikrotik Walled Garden Configuration. #

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"

Netpap Station Details.[Activate V5 landing page) #

As of writing Google tag manager is only available for the Version 5 of the captive portal on Netpap.

  • Navigate to station details.
  • Click other details to view more station details.
  • On landing page Field click drop down and select V5.
  • Click save

Add the google tag manager on company details. #

Head over to Google tag manager an register an account and container for receiving tag that fire on your captive portal.

ADD GOOGLE TO TAG TO MIKROTIK CAPTIVE PORTAL

Copy the tag id and paste it to company details on Netpap -Google tag field and save the tag

Add gtag code from google tag manager to company details

AVAILABLE TRIGGERS FOR TRACKING

Add the following tags please note the filters coming from netpap

Powered by BetterDocs