The ConnectivityTypes keyword can be used to check and display the available connection types which are supported by the client device.
This applies to any device (Ethernet typically for laptop/desktop browsers).
If you want a certain feature to be available on mobile devices only when they are on mobile data and not on Wi-Fi, you can use the Syntax example stated below.
This function is SQL compatible. For more information about SQL compatibility, see our .
Returns an Array of text value, showing the available connection types.
Possible values are: "wifi", "mobile" and "ethernet".
Example for any connectivity
// example for any connectivity:
ConnectivityTypes contains "wifi"
or
ConnectivityTypes contains "mobile"
or
ConnectivityTypes contains "ethernet"
Example for Native Mobile Device only on Mobile Data - not Wi-Fi
// example for any connectivity:
ConnectivityTypes contains "mobile"
and
NOT(ConnectivityTypes contains "wifi")