Create audience to target users who staying on the page longer than a given time period | Community
Skip to main content
Level 2
September 25, 2024
Solved

Create audience to target users who staying on the page longer than a given time period

  • September 25, 2024
  • 2 replies
  • 1536 views

Hi Adobe community,

 

I want to check if there is a way to define the Target audience that only target users who stay on the page longer than a time period, e.g. 10 seconds. The reason why is I have setup the experiment for long staying users but the report mixed the loyal users and users bounced.

 

Thanks for your help

Chris

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 pradnya_balvir

Hi @chrisch4 , You can create a audience using profile script (profile.browserTime) for personalization.

 

https://experienceleague.adobe.com/en/docs/target/using/audiences/visitor-profiles/profile-parameters

 

2 replies

pradnya_balvir
Community Advisor
pradnya_balvirCommunity AdvisorAccepted solution
Community Advisor
September 25, 2024

Hi @chrisch4 , You can create a audience using profile script (profile.browserTime) for personalization.

 

https://experienceleague.adobe.com/en/docs/target/using/audiences/visitor-profiles/profile-parameters

 

ChrisCh4Author
Level 2
November 4, 2024

Thanks @pradnya_balvir 
May I check what is the value expected from the `profile.browserTime`?
Is it the number of seconds that we can compare using static value?

Now I am setting a new profile script with the code below
`return user.get('browserTime');`
then to create a new audience profile to compare the targeted value.
Please have a look if I am doing correctly? Thanks

ChrisCh4Author
Level 2
November 4, 2024

Hi @chrisch4 

As per my previous reply

profile.browserTime The visitor’s local browser time. For system time, create a new date object in the profile script

 

source: https://experienceleague.adobe.com/en/docs/target/using/audiences/visitor-profiles/variables-profiles-parameters-methods 


Hi @kandersen-1 thanks for the clarification.
Could you demonstrate the profile script you defined to return the user staying time in buckets? Much appreciated.

kandersen-1
Community Advisor
Community Advisor
September 26, 2024

@chrisch4 

profile.browserTime specifies only the respective browser time. See this for details: 

https://experienceleague.adobe.com/en/docs/target/using/audiences/visitor-profiles/variables-profiles-parameters-methods

 

With this you can e.g. determine if it is morning or rather evening for the user and accordingly display e.g. personalizations.

 

If you want to track time spent on site, you can easily create your own script as a kind of counter. There are several possibilities how to build it - I would recommend grouping values in buckets like:

 

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

 

let me know if you’re not familiar with profile scripts. 

Test forum signature