Skip to content

L8 : Send Custom Data : Audience Manager

kk-adobe edited this page Mar 22, 2017 · 6 revisions

Enabling the AAM integration in the JSON config file

AAM and server-side forwarding was enabled for you when you AGS Sandbox was provisioned. However, the code changes necessary to account for that forwarding were configured back in Exercise #1 when you configured your SDK. For informational purposes it's important to note that the following settings in the JSON config are for AAM.

"audienceManager": {
"server": "xxx.demdex.com",
"analyticsForwardingEnabled": true,
"timeout": 5
},

With server-side forwarding enabled, it is possible to create a couple of traits and segments without any further implementation.

Create AAM Data Sources for Mobile Data

  1. If necessary, log into your Marketing Cloud Org

  2. Use the solution switcher in the top nav to move to Audience Manager.

  3. In the AAM interface, click on 'Manage Data' in the left nav.

  4. Create a new data source to house Mobile App Analytics data by doing the following:

  • Click on 'Data Sources' in the left nav.
  • Click '+ Add New' on the 'Data Sources' screen.
  • Name the data source 'Target Mobile Lab Analytics' and provide a description if you'd like.
  • Leave all other settings as default and click the blue 'Save' button at the bottom of the screen.
  • Note the new data source you just created.

Create AAM Traits and Segments

  1. Click on 'Traits' in the left nav (if necessary, access the AAM interface and click on 'Manage Data' first).
  2. On the Traits screen, create a new folder to house your traits created from Analytics data by doing the following:
  • Hover over the 'All Traits' folder and click the '+' sign right next to it.
  • In the 'Add Folder' Dialogue box, enter the name 'Target Mobile Lab' and click the blue 'Save' button.

Create a trait to capture any mobile app visitors by doing the following:

  1. Click '+ Add New' in the top left and select 'Rule-Based'.
  2. On the 'Rule-Based Trait' creation page, name the trait 'Mobile App User' and provide a description if you'd like.
  3. Set the 'Data Source' drop down to the 'Target Mobile Lab' data source created previously in this exercise.
  4. In the 'Store In:' section, select the 'Target Mobile Lab Data' folder you just created.
  5. Expand the 'Trait Expression' section.
  • In the 'Key' field enter the text 'c_contextdata.device'.
  • Change the 'Operator' to '=='.
  • In the 'Value' field enter the text 'mobile'.
  • Click the blue 'Add Rule' button.
  • Click the blue 'Save' button at the very bottom of the rule builder to save this rule-based trait.