TEALCollectConfiguration Class Reference

Inherits from NSObject
Declared in TEALCollectConfiguration.h

Overview

Configuration Class for the Tealium Collect Library An instance of this is passed to TealiumCollect enableWithConfiguration: to start the Collect Library

  accountName

Tealium iQ account name

@property (copy, nonatomic) NSString *accountName

Discussion

Tealium iQ account name

Declared In

TEALCollectConfiguration.h

  profileName

Tealium iQ profile name, this should be the TiQ profile where the mobile publish settings have been configured for the collect library.

@property (copy, nonatomic) NSString *profileName

Discussion

Tealium iQ profile name, this should be the TiQ profile where the mobile publish settings have been configured for the collect library.

Note: This is usually not the same profile used for AudienceStream

Declared In

TEALCollectConfiguration.h

  environmentName

Tealium iQ evnvironment name.

@property (copy, nonatomic) NSString *environmentName

Discussion

Tealium iQ evnvironment name.

@example dev/qa/prod

Declared In

TEALCollectConfiguration.h

  useHTTP

Flag when on will send all data for HTTP. Suggested to be used in development only!

@property (nonatomic) BOOL useHTTP

Discussion

Flag when on will send all data for HTTP. Suggested to be used in development only!

@default NO

Declared In

TEALCollectConfiguration.h

  pollingFrequency

Frequency at which visitor profile should be polled. By default after each sendEventWithData: and sendViewWithData: call an updated visitor profile will be requested. If set to on request, the library will only requery the profile when asked for using fetchVisitorProfileWithCompletion:

@property (nonatomic) TEALVisitorProfilePollingFrequency pollingFrequency

Discussion

Frequency at which visitor profile should be polled. By default after each sendEventWithData: and sendViewWithData: call an updated visitor profile will be requested. If set to on request, the library will only requery the profile when asked for using fetchVisitorProfileWithCompletion:

@default TEALVisitorProfilePollingFrequencyAfterEveryEvent

Declared In

TEALCollectConfiguration.h

  logLevel

How verbose the library’s logs should be. This defaults to showing nothing.

@property (nonatomic) TEALCollectLogLevel logLevel

Discussion

How verbose the library’s logs should be. This defaults to showing nothing.

@default TEALCollectLogLevelNone

Declared In

TEALCollectConfiguration.h

  audienceStreamProfile

Profile name Collect should use to query AudienceStream with. Usually this is the account’s main profile, however if a different profile is desired that profile’s name goes here.

@property (copy, nonatomic) NSString *audienceStreamProfile

Discussion

Profile name Collect should use to query AudienceStream with. Usually this is the account’s main profile, however if a different profile is desired that profile’s name goes here.

@default “main”

Declared In

TEALCollectConfiguration.h

+ configurationWithAccount:profile:environment:

Creates a default configration instance for a given account / profile / environment combination. The TiQ information is used to fetch the profile’s mobile publish settings used

+ (instancetype)configurationWithAccount:(NSString *)accountName profile:(NSString *)profileName environment:(NSString *)environmentName

Parameters

accountName

String of TiQ / AudienceStream account name

profileName

String of TiQ Profile Name

environmentName

String

Return Value

Valid configuration instance to pass to the enableWithConfiguration: method.

Discussion

Creates a default configration instance for a given account / profile / environment combination. The TiQ information is used to fetch the profile’s mobile publish settings used

Declared In

TEALCollectConfiguration.h