Guest Token
[ht_message mstyle="alert" title="" show_icon="" id="" class="" style="" ]This feature requires use of social logins in
[ht_message mstyle="alert" title="" show_icon="" id="" class="" style="" ]This feature requires use of social logins in the hotspot profile. Guests connected using a simple login will not have the Guest Token appended to the Redirect URL because there is no Guest Profile created for simple logins. [/ht_message]
How can I get guest data to be sent through the redirect (post) URL?
The Guest Token (with the platform API) can be used to get guest profile data out of the Smart WiFi Platform. Possible examples of Guest Token use are:- Customizing messages on the landing page to greet the guest.
- Pre-populating a form for guests.
- Integrating the guest profile data into a CRM or other platform.
- The format of the Guest Token is ?guest_token=
- For example, if your Hotspot Redirect URL is: https://mylanding.corporatesite.com/retail
- The Guest would be redirected to: https:// mylanding.corporatesite.com/retail?guest_token=
- An example request to the API would look like this: https://api.smartwifiplatform.com/v2/guests/get?api_token=
&guest_token=
Sample-
{"custom1":null,"custom2":null,"custom3":null,"custom4":null,"custom5":null,"custom6":null,"custom7":null,"custom8":null,"custom9":null,"custom10":null,"client":
{"id":53,"company":"TECH DEPT"},"profile":{"firstname":null,"lastname":null,"email":"myemail@gmail.com","mobilephone":null,"birthdate":null,"macaddress":"4A-4A-EA-4A-4A-FA","gender":null,"country":null,"region":null,"city":null,"address":null,"postal_code":null},"last_connection":
{"name":"TECHHOTSPOT","nasidentifier":"TECHHOTSPOT"},"unsubscribed":false}
[ht_message mstyle="alert" title="" show_icon="" id="" class="" style="" ]This Guest Token should be used for customization content on a landing page. If you're interested in collecting data into a different platform please see the knowledge base articles on Zapier integration or SmartWiFi API Endpoints.[/ht_message]