Is there a way to personalize content for registered users/logged in users? | Community
Skip to main content
Level 2
May 15, 2020
Solved

Is there a way to personalize content for registered users/logged in users?

  • May 15, 2020
  • 5 replies
  • 9303 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Tanvi_Agarwal_

@srikoll 

 

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.

5 replies

Gaureshk_Kodag
Adobe Employee
Adobe Employee
May 15, 2020

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.

Adobe Employee
May 20, 2020

@srikoll 

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

 

Gaureshk_Kodag
Adobe Employee
Adobe Employee
May 20, 2020

yup that can be also the way!

Tanvi_Agarwal_
Adobe Employee
Tanvi_Agarwal_Adobe EmployeeAccepted solution
Adobe Employee
May 20, 2020

@srikoll 

 

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.

Adobe Employee
May 20, 2020
Level 2
May 21, 2020

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