Disable server-side forwarding in Analytics Mobile SDK extension

Learn how to disable server-side forwarding of an Analytics hit to Audience Manager from the Mobile SDK.

Description description

Environments

Adobe Analytics (AA)

Adobe Audience Manager (AAM)

Issue

You can combine Mobile and Web data into a single report suite.

Sometimes, they need AAM forwarding enabled only for web data, and not mobile data.

Follow the steps below if you want server-side forwarding (SSF) of an Analytics hit to Audience Manager to be disabled for the Mobile SDK while still being enabled in the report suite settings.

Resolution resolution

  1. In order to disable SSF for an individual Analytics hit, you need to include cm.ssf=1 in your context data.

    code language-none
    MobileCore.track(action: "action name", data: [ "cm.ssf": "1"] )
    
  2. Additionally, when calling lifecycleStart, include cm.ssf=1 as additional context data.

    code language-none
    MobileCore.lifecycleStart(additionalContextData: [ "cm.ssf": "1"] )
    
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f