Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Create Target Audience Based On Cookie Value

Avatar

Avatar
Validate 1
Level 2
dani25735452
Level 2

Likes

5 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
dani25735452
Level 2

Likes

5 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
dani25735452
Level 2

01-05-2019

So I have spent hours looking around the forum to find an answer to this question. Just about all the answers I can find are all out dated and referring to mbox.js functions that no longer exist.

All I am trying to do is create an audience if a cookie value is true. It seems by default Adobe Target is not able to do this, just for clarity is the only way to do this to pass parameters to at.js using DTM?

If this is the case then how would I go about this when our implementation is not using DTM?

If this can be achieved easier please let me know.

Thanks

Dan

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
Level 8
gaureshk3014423
Level 8

Likes

196 likes

Total Posts

168 posts

Correct Reply

32 solutions
Top badges earned
Springboard
Validate 1
Contributor
Coach
Shape 10
View profile

Avatar
Springboard
Level 8
gaureshk3014423
Level 8

Likes

196 likes

Total Posts

168 posts

Correct Reply

32 solutions
Top badges earned
Springboard
Validate 1
Contributor
Coach
Shape 10
View profile
gaureshk3014423
Level 8

01-05-2019

hi Dani,

There is no option in adobe target to create audience based on cookie value, but this can be done with help of adobe launch/DTM

1.Go to data elements in adobe launch/DTM.

2.Add data element

3.Name : Element_Name

4. Extension : Core

5. Data Element Type : Cookie

6. Default Value : None

7. Check Clean Text

8. Storage Duration : Page view / Session / Visitor - As per your requirement

9. Cookie Name : Cookie_Name

SAVE Data element

Pass it in your global mbox

(Name : any name to capture in target

Value : Data element name that you created earlier)

Then go to adobe target

1.Create Audience

2.Rule -> Custom -> Type Name (which is passed in mbox through launch) -> follow your conditions

if you choose to use js you can use code snippet that looks something like this

targetPageParams = function() {

var cookieValue = document.cookie.replace(/(?:(?:^|.*;\s*)COOKIENAME\s*\=\s*([^;]*).*$)|^.*$/, "$1");

              return "PARAMNAME="+cookieValue;

        };

/* replace `COOKIENAME` and `PARAMNAME` */

hope this works for you.

Thanks,

Gauresh Kodag.

Answers (0)