On my project I have got only AT.
if (User viewed == finance category)
then (homepage personalization)
Target does not store previous URLs of the session, is it the only workaround?
Send through web sdk:
alloy("sendEvent", {
"data": {
"__adobe": {
"target": {
"profile.category": "finance"
}}}}
AM I able to use that attribute during the same session?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@Michael_Soprano yes, profile parameters are available immediately.
I would capture the categories via a profile script. Assuming that you're populating user.categoryId you could also consider using user.categoryAffinities, which contains an array of the top 5 categories in prioritized order:
user.categoryAffinities: [Cat, Icecream, Camera, Sun, Pizza]
If you need more than 5 I would use a profile script.

I share weekly Adobe tips on LinkedIn—connect with me!
Every Wednesday: "Something a client recently asked..."
LinkedIn ProfileViews
Replies
Total Likes
@Michael_Soprano yes, profile parameters are available immediately.
I would capture the categories via a profile script. Assuming that you're populating user.categoryId you could also consider using user.categoryAffinities, which contains an array of the top 5 categories in prioritized order:
user.categoryAffinities: [Cat, Icecream, Camera, Sun, Pizza]
If you need more than 5 I would use a profile script.

I share weekly Adobe tips on LinkedIn—connect with me!
Every Wednesday: "Something a client recently asked..."
LinkedIn ProfileViews
Replies
Total Likes
Hi @Michael_Soprano,
Yes, you can use that approach.
Adobe Target doesn’t automatically store previously visited URLs in a session. So if you want to personalize the homepage based on what the user viewed earlier (like the finance category), you’ll need to send that info to Target manually. Once this profile attribute (profile.category) is sent, it becomes part of the user’s Target profile.
You can use it within the same session for personalization, as long as the next Target call happens after this event is processed.
Also there are few other work arounds depend on your set up such as using cookie or local storage document.cookie = "lastCategory=finance; path=/";
Then, on the homepage, read that value and pass it to Target via Web SDK before personalization runs.
This lets you reuse the data in the same session even if Target hasn’t updated the profile yet.
Views
Likes
Replies