Expand my Community achievements bar.

Applications for the 2024 Adobe Target Community Mentorship Program are open! Click to the right to learn more about participating as either an Aspirant, to professionally level up with a new Certification, or as a Mentor, to share your Adobe Target expertise and inspire through your leadership! Submit your application today.
SOLVED

How to create custom cookie in profile script

Avatar

Level 1

I have a requirement that I need to create custom cookie . Can any help

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

Creation of cookie in a Profile script is similar to creation of cookie in a website. You need to write the code within Profile Script itself.

~Rohit

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi,

Creation of cookie in a Profile script is similar to creation of cookie in a website. You need to write the code within Profile Script itself.

~Rohit

Avatar

Level 4

Profile scripts can't interact with the page or the DOM. How would you set a cookie there?