Breaking

Tuesday, June 18, 2019

How to create audience based on cookie value in Adobe Target?

cookie



How to create an audience based on cookie value in Adobe Target?

My Favorite way to create an audience based on the cookie in the adobe target is to use Adobe launch. Adobe Launch can tide over and help get a lot of useful info into Target, including Cookie values, local storage values, etc.

First, open Adobe launch. You will need to create a data element to store a cookie value. Go to the data elements tab and add a new element.

Data element


  • Specify the Name of the data element.
  • Select Type: Cookie and enter the cookie name. 
  • Then select how long you want this data to last.
  • You can set the default value for the data element or you can leave it blank.
  • Then select how long you want this data to last.

storage


storage


Then go to the rules tab. Create a global variable that passes to Target. The Value will be the name of the data element that you just created, wrapped in % signs.


mbox


Pass data element (Adobe Target - Add Params to Global Mbox ) as follows,


global

Publish data element and rule.
Go to Adobe Target  > Audiences  > Create Audience  >  Add rule  >  Custom  >  Select your data element variable from dropdown and create audience accordingly.

You can now use this audience in your activity. (For example to identify logged in customers in case you are dropping specific value in a cookie for logged-in and not logged in customers)

One thing to make sure is that the cookie is set before Launch loads. It is quite likely, that Target and Launch will load before the Cookie value is available. If this is the case, the audience will not be available on the first page. You will not be able to target that audience until the second-page load. You will have to use another method to detect what value the cookie will be set to for the first-page load.

No comments:

Post a Comment

Featured Post

[Solved] How to get current location of user using javascript?(Example code)

How to get the current location of a user using javascript? You might think to get a user's location is a difficult task, but it&...

Popular Posts