Audience creation with personnalisation

Bronze Contributor
Bronze Contributor

Hi,

I wanna create an audience with visitors who downloaded a book in the website in the past 30 days, how can I did it and keeping sure that the audience will be updated every single time that the visitor download another book again, I just wanna have the logic behind it to implement it I have all the events that I need.

Thanks you so much

4 REPLIES 4

Audience creation with personnalisation

Gold Contributor
Gold Contributor

@mohamedghanname To create an audience with visitors who downloaded a book in the past 30 days and ensure that the audience is updated every time a visitor downloads another book, follow these steps:

  1. Ensure that you are capturing the download event and relevant attributes (e.g., user ID, timestamp) within your Tealium setup.

  2. In Tealium AudienceStream, create a new attribute (e.g., "Last Download Date") of the type "Timestamp" with the scope set to "Visitor." This attribute will store the timestamp of the most recent book download.

  3. Create a new rule (e.g., "Book Download Rule") that triggers when a book download event occurs. In the rule's action, update the "Last Download Date" attribute with the current timestamp of the download event.

  4. Create a new audience (e.g., "Book Downloaders in the Last 30 Days") and define its membership criteria based on the "Last Download Date" attribute. The audience should include visitors whose "Last Download Date" attribute is within the last 30 days.

  5. Save your changes and publish your Tealium configuration.

Now, when a visitor downloads a book, the "Last Download Date" attribute will be updated, and the audience membership will be automatically recalculated based on the new timestamp. This ensures that the audience remains up-to-date and only includes visitors who downloaded a book within the past 30 days.

shivam joshi

Audience creation with personnalisation

Bronze Contributor
Bronze Contributor
Hi, I did it but the date doesn't update after the download of another book for exemple

Audience creation with personnalisation

Bronze Contributor
Bronze Contributor

the Last Download Date attribute configuration and withe the rule Book Download Rule 

Audience creation with personnalisation

Gold Contributor
Gold Contributor

If the date is not updating after the download of another book, it may be due to incorrect configurations or missing data points. Here are a few steps to troubleshoot the issue:

  1. Verify that the download event is being tracked correctly for every book download. Check your analytics tool or customer data platform to confirm that the event is being fired with the correct attributes.

  2. Ensure that the "Book Download Rule" is correctly set up to trigger on the download event. Double-check the rule's conditions and make sure they match the download event attributes.

  3. In the "Book Download Rule" action, confirm that the "Last Download Date" attribute is being updated with the current timestamp. Make sure that you are using the correct syntax and functions to set the attribute value.

  4. Check if there are any other rules or extensions that might be interfering with the "Last Download Date" attribute update. If you find any conflicting rules or extensions, resolve the conflicts or adjust their execution order accordingly.

  5. Test the setup by simulating book downloads and monitoring the changes in the "Last Download Date" attribute. Use your analytics tool or customer data platform's debugging features to track the attribute updates in real-time.

shivam joshi
Public