Skip to main content
Level 2
Sep 25, 2024 6:17 AM UTC
Solved

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

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.
pradnya_balvir
pradnya_balvirAccepted solution
Adobe Champion and Community Advisor
Sep 25, 2024 4:21 PM UTC

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

 

6 replies

pradnya_balvir
Adobe Champion and Community Advisor
pradnya_balvirAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
Sep 25, 2024 4:21 PM UTC

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

 

Translate
ChrisCh4Author
Level 2
Nov 4, 2024 8:03 AM UTC

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

Translate
ChrisCh4Author
Level 2
Nov 4, 2024 10:01 AM UTC

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.

Translate
kandersen-1
Community Advisor and User Group Leader
Community Advisor and User Group Leader
Sep 26, 2024 3:37 PM UTC

@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. 

Translate