Connectivity Module

Gathers information about the device’s network connection and adds it to the data layer for each event.

Usage

Usage of this module is recommended.

The following platforms are supported:

  • iOS
  • tvOS
  • macOS
  • watchOS

Install

This module is included as part of the Core library, and does not require separate installation.

Initialize

To initialize the module, verify that it’s specified on the TealiumConfig collectors property

config.collectors = [Collectors.Connectivity]

If you don’t specify any optional collectors on your TealiumConfig instance, then this module is automatically enabled.

Data Layer

The following variables are transmitted with each tracking call while the module is enabled:

Variable Description Example
connection_type Current connection type ["wifi", "cellular"]

Was this page helpful?

This page was last updated: January 7, 2023