Expand my Community achievements bar.

JOIN US Next Wednesday, 12/6/23 @ 8am PT for the next Community Q&A Coffee Break! Bring your Machine Learning, AI Reporting & Analysis Questions to the chat. Experts Brent Kostak, Cristinel Anastasoaie, & Drew Burns of the Adobe Target Product Team will be providing deep insights and useful tips
SOLVED

Profile script for Browse time.

Avatar

Level 2

Hello Community,

If need to target users based on how long they spend time on the site. I found this built-in profile variable (profile.browserTime), however the results are not as expected.
-Could someone please explain how to use this profile variable in my script?

Thanks!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @SaiGaneshReddy,
profile.browserTime specifies only the respective browser time. With this you can e.g. determine if it is morning or rather evening for the user and accordingly display e.g. personalizations.

You can write your own script so a kind of counter. There are several possibilities how to build it - like listening to the beforeunload event, etc.. Here you must also know whether a counter can be reset (if desired). Was then rather that finally in the profile in ranges deposit e.g.

 

less than 15 seconds
15 to 29 seconds
30 to 59 seconds
1 to 3 minutes
3 to 5 minutes
5 to 10 minutes
10 to 15 minutes
15 to 20 minutes
20 to 30 minutes
more than 30 minutes

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hello @SaiGaneshReddy,
profile.browserTime specifies only the respective browser time. With this you can e.g. determine if it is morning or rather evening for the user and accordingly display e.g. personalizations.

You can write your own script so a kind of counter. There are several possibilities how to build it - like listening to the beforeunload event, etc.. Here you must also know whether a counter can be reset (if desired). Was then rather that finally in the profile in ranges deposit e.g.

 

less than 15 seconds
15 to 29 seconds
30 to 59 seconds
1 to 3 minutes
3 to 5 minutes
5 to 10 minutes
10 to 15 minutes
15 to 20 minutes
20 to 30 minutes
more than 30 minutes