CollectSettingsBuilder Class Reference
public class CollectSettingsBuilder: DispatcherSettingsBuilder<Mappings>,
MultipleInstancesModuleSettingsBuilder
A builder used to enforce some of the CollectSettings.
-
Set the URL used to send single events
Declaration
Swift
public func setUrl(_ url: String) -> Self -
Set the URL used to send a batch of events
Declaration
Swift
public func setBatchUrl(_ batchUrl: String) -> Self -
Set the profile used to override the
TealiumConfig.profilein the event data sent to the collect endpointDeclaration
Swift
public func setOverrideProfile(_ overrideProfile: String) -> Self -
Set the domain used to replace the default single event URL and default batch events URL domains. This won’t override URL and batch URL that are provided in the settings.
Declaration
Swift
public func setOverrideDomain(_ overrideDomain: String) -> Self