We only have Target at our disposal.
I would like to combine two audiences:
1. Current session - easy
Comes from Google + landing page contains "real-estate"
2. Past session - not sure if feasible without AEP, AAM or AA
Session from > 7days , comes from Linkedin (utm) and landing page parameter also contains "real-estate"
Is Target able to keep events from past sessions? Going through documentation most parameters are about current behaviour
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Good question!
Target can easily handle the first case — someone coming from Google and landing on a page with "real-estate" in the URL. That’s based on the current session, which Target works well with.
For the second case — someone who visited from LinkedIn more than 7 days ago — it’s a bit trickier. Target doesn’t store past session data by default.
But there are a couple of ways to work around this:
Both options require capturing the data when the user first visits — Target can’t go back and get it after the fact.
Let me know if you'd like help setting this up!
Good question!
Target can easily handle the first case — someone coming from Google and landing on a page with "real-estate" in the URL. That’s based on the current session, which Target works well with.
For the second case — someone who visited from LinkedIn more than 7 days ago — it’s a bit trickier. Target doesn’t store past session data by default.
But there are a couple of ways to work around this:
Both options require capturing the data when the user first visits — Target can’t go back and get it after the fact.
Let me know if you'd like help setting this up!
Is there a reference on how to create profile scripts like you described?
Views
Replies
Total Likes
@maccg12 Here is a simple profile script that captures the utm_source parameter along with a timestamp on a new session page visit. The script stores all utm_source values, adding the most recent one at the beginning of the string.
Please note: Profile attributes can store a maximum of 256 characters. If the total value exceeds this limit, the excess characters will be trimmed.
var utm_source = page.param('utm_source');
if(utm_source && user.isNewSession){
var prevVal = user.get('utm_source');
var timeStamp = new Date();
return utm_source + '|' + timeStamp + (prevVal ? '||' + prevVal : '');
}
Let me know if you have any questions or need further adjustments!
Views
Replies
Total Likes
Views
Likes
Replies