AnalyticsManager

Package: com.salesforce.marketingcloud.analytics

Type: interface

SDK Version: 11.0.0

Public facing interface for interacting with the Marketing Cloud SDK’s analytics features.

Indicates whether the ET analytics are enabled or disabled.

Returns: Boolean


Indicates whether the Pi analytics are enabled or disabled.

Returns: Boolean


This method allows you to disable the collection of ET Analytics through the SDK.


This method allows you to disable the collection of Pi Analytics through the SDK.


This method allows you to activate the collection of ET Analytics through the SDK.


This method allows you to activate the collection of Pi Analytics through the SDK.


Returns the value set by setPiIdentifier.

Returns: String (nullable)


Set the Predictive Intelligence Identifier to be associated with your Predictive Intelligence analytics.

Parameters:

  • piIdentifier: String (nullable, minimum size = 1)

PI Analytics Convenience method to track a shopping cart.

Parameters:

  • cart: PiCart (non-null)

PI Analytics Convenience method to track a purchase.

Parameters:

  • order: PiOrder (non-null)

Track the opening of an InboxMessage in ETAnalytics.

Parameters:

  • message: InboxMessage (non-null)

Track page views within your application

Parameters:

  • url: String (non-null, minimum size = 1) - Required page URL
  • title: String (nullable) - Optional page title
  • item: String (nullable) - Optional item identifier
  • searchTerms: String (nullable) - Optional search terms