How to setup "New Users" and Returning Users" Audiences in DY?
FeaturedI get this question often from different DY users. Here is a step by step guide on how to setup "New Users" and "Returning Users" audiences within DY.
1. Create a Custom Action (Custom Code) campaign and call it "User Type".
a. Campaign setup
- Trigger - page load
- Frequency - Once per session
b. Create targeted Experience "New Users"
- Who? New User ___is____ true
- Create a new variation - Custom Code
- Copy and paste the following snippet in the JS TAB: DY.API('event', {name:'User Type', properties:{type: 'new' }});
- Save variation
- Save experience
c. Create targeted Experience "Returning"
- Who? New User ___is____ false
- Add a New Variation: Custom Code:
- Copy and paste the following snippet in the JS TAB: DY.API('event', {name:'User Type', properties:{type: 'Returning' }});
- Save variation
- Save experience
- Set the status of both experiences to "Active" and publish your campaign.
2. Go to audience explorer
a. Create the "New Users" Audience
- Choose:
"Event trigger by property" => User Type => type => new => at least one time
AND
"Event trigger by property" => User Type => type => returning => at most 0 times
- Create audience, call it "New users", add label "User Type" and select "The current session" as look back window.
b. Create the "Returning Users" Audience
- Choose "Event triggered by property" => User Type => type => Returning => at least one time
- Create audience, call it "Returning users", add label "User Type" and select "The current session" as look back window.
Best,
Anas Chokairy
Customer Success Management
Please sign in to leave a comment.
Comments
3 comments