Expand my Community achievements bar.

SOLVED

Registrants Vs Non Reg. XT Targeting

Avatar

Community Advisor

I want to create an XT activity and personalize content for those who have not registered for upcoming events. How can I create that audience? How would I know if I want to do it via Analytics that which visitor has registered or who has not registered?

 

If this is possible via profile script then what it will look alike?

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi @JyotiSharmaV 

 

Set up Event Tracking: Ensure that you have event tracking set up in your analytics platform to track when users register for events. This could involve setting up custom events or goals.

Segmentation: Once you have event tracking in place, you can segment your audience based on their interaction with these events. For this case, you want to segment users who have not registered for upcoming events.

Personalize Content: Use the audiences you created to personalize content for users who haven't registered. This could involve showing them targeted messages or calls-to-action encouraging them to register for upcoming events.

Profile Script (Optional): If you're using a customer data platform or similar tool that supports profile scripts, you can use it to further personalize the experience. Here's a basic example of what a profile script might look like:

javascript

// Check if the user has registered for upcoming events
if (user.events && user.events.upcomingEvents && user.events.upcomingEvents.length === 0) {
// User has not registered for any upcoming events
user.interests = user.interests || [];
user.interests.push("Upcoming Events"); // Add a tag or interest indicating the user's interest in upcoming events
}


This script would update the user's profile to include an "Upcoming Events" tag if they haven't registered for any upcoming events. You can then use this tag to personalize their experience further.

View solution in original post

3 Replies

Avatar

Employee Advisor

Hi @JyotiSharmaV ,

The above thing can be done in multiple ways - 

1. using profile parameter (via launch) - If you have a registrant identifier available anywhere in a cookie, data layer, or any other global object, you can directly pick it in a data layer and pass it as a parameter with the prefix profile.paramname and then use it as an audience.

 

2. using AA segment - You can create a segment in AA and import it into a target to use it in an activity, there will be 8-24 hours of latency in the AA segment. for example, if a user registers now and comes to the activity page, the user won't qualify for the activity immediately. It will take at least 8hours for a target to know that this is a registered user

 

3. using profile parameters (via profile scripts) - if you have a thankyou page after registration complete you can create a profile script, whenever user visits thankyou page set a profile param that user has registered and use it as a segment later on

Avatar

Community Advisor

I do get the Thank you message on that page once successfully registration is done by hitting the submit button but the URL doesn't change it's just content updates on the page but not like on the whole page. Just a form goes away and Thank you message appears.

Avatar

Correct answer by
Level 3

Hi @JyotiSharmaV 

 

Set up Event Tracking: Ensure that you have event tracking set up in your analytics platform to track when users register for events. This could involve setting up custom events or goals.

Segmentation: Once you have event tracking in place, you can segment your audience based on their interaction with these events. For this case, you want to segment users who have not registered for upcoming events.

Personalize Content: Use the audiences you created to personalize content for users who haven't registered. This could involve showing them targeted messages or calls-to-action encouraging them to register for upcoming events.

Profile Script (Optional): If you're using a customer data platform or similar tool that supports profile scripts, you can use it to further personalize the experience. Here's a basic example of what a profile script might look like:

javascript

// Check if the user has registered for upcoming events
if (user.events && user.events.upcomingEvents && user.events.upcomingEvents.length === 0) {
// User has not registered for any upcoming events
user.interests = user.interests || [];
user.interests.push("Upcoming Events"); // Add a tag or interest indicating the user's interest in upcoming events
}


This script would update the user's profile to include an "Upcoming Events" tag if they haven't registered for any upcoming events. You can then use this tag to personalize their experience further.