Show Menu
TOPICS×

Adobe Target

This document assumes that you have the Places extension implemented in your application. If you need help implementing Places extension, see Places extensions .
After the Places extension is sending in events for entries and exits, you can leverage Rules in Launch to attach your Places data to your Adobe Target SDK events. With your desired property selected in Launch, you can create this type of rule by completing the following tasks:

1. Create a Rule

  1. On the Rules tab, click Create New Rule .
    Remember the following information:
    • If you do not have existing rules for this property, the button will be in the middle of the screen.
    • If your property has rules, the button will be in the top right of the screen.

2. Select an Event

  1. Give your rule a meaningful name so it will be easily recognizable in your list of Rules.
    In this example, the Rule is named Attach Places Data to Target Content Requested .
  2. Under the Events section, click Add .
  3. From the Extension drop-down list, select Adobe Target .
  4. From the Event Type drop-down list, select Content Requested .
  5. Click Keep Changes .

3. Add Conditions

Complete this step if you want to add Conditions to your rule. Otherwise, skip to the Define the Action below.
In the following example, a Condition is created that causes the Rule to trigger only for users who have launched the app five or more times.
  1. Under the Conditions section, click Add .
  2. From the Extension drop-down list, select Mobile Core .
  3. From the Condition Type drop-down list, select Launches .
  4. On the right pane, modify the drop-down list and number controls so that the condition reads User has launched the app greater than or equal to 5 times .
  5. Click Keep Changes .

4. Define the Action

  1. Under the Actions section, click Add .
  2. From the Extension drop-down list, select Mobile Core .
  3. From the Action Type drop-down list, select Attach Data .
  4. On the right pane, in the JSON Payload field, type the data that will be added to this Event.
  5. Click Keep Changes .
On the right pane, you can add a freeform JSON payload that adds data to an SDK event before the extensions listening for this event hear it.
In the following example, poiCity and poiName values are added to the mboxparameters for each request that is processed in the Target event. The values for the new keys are determined dynamically by the SDK at the time this event processes.
This JSON payload uses a special notation for the request object. In the original event, request is an array of anonymous objects. When attaching data to all of objects in an array using Attach Data, the [*] notation on a key that is known to contain an array causes the payload to be applied to all objects in that array.
The notation of request[*] can be read out loud as for each object in the request array .

5. Save the Rule and rebuild your Property

After you complete your configuration, verify that your Rule looks like the following image:
  1. Click Save
  2. Rebuild your Launch property and deploy it to the correct Environment.