Hi All,
I am trying to learn and see if there is a way to personalize content for users who've been registered or ever logged in? I don't want to use any customer IDs or data to recognize, but I was wondering if there is any way target can do this?
Regards,
Sri
Solved! Go to Solution.
Target itself does not recognize the logged in user .
But you can also simply pass any custom mbox parameter to Target call, as soon as user logs in. Do not pass this parameter on the loggout screen or homepage without login.
Now you can create an audience with this mbox parameter and enjoy targeting the logged in users.
Hi @srikoll
Yes you can personalize content if user is registered or logged in..
But you need to tell target that how can you identify if customer is logged in or registered. And create custom audience based on that
In my case, we are using a cookie which tells if user is logged in or no.
Using this cookie we have created data element and rule in launch and audience in target. So as soon as someone logs in target gets to know that customer is logged in and shows personalised content.
You can try below method :
1. Pass mbox parameter in Target mbox call when user login to the website and
2. Then create an Audience based on the parameter
3. Now you just ahve to create a campaign based on the audience which will be reading the parameter value for logged in users
You can also try @Gaureshk_Kodag method, it also sounds fine.
Hope this helps !
Regards,
Skand
yup that can be also the way!
Views
Replies
Total Likes
Target itself does not recognize the logged in user .
But you can also simply pass any custom mbox parameter to Target call, as soon as user logs in. Do not pass this parameter on the loggout screen or homepage without login.
Now you can create an audience with this mbox parameter and enjoy targeting the logged in users.
@srikoll Here is the docuementation for passing a custom parameter to an mbox https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/mbox-implement/glob...
You can refer to the below documentation for creating an audience on these custom parameters:
Regards,
Karan
Hi @srikoll
Our method of doing this (we use at.js 2.3.0) is using the targetPageParamsAll function which looks a bit like this:
window.targetPageParamsAll = function() {
function _userIsLoggedIn() {
// Some logic that returns true or false
}
return { "logged_in": _userIsLoggedIn() };
}
That way we have the custom mbox attribute 'logged_in' available on all offer requests. Within Target we then use this in an Audience.
Kr,
Thomas
Views
Likes
Replies