- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
a month ago - last edited a month ago
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
Solved! Go to Solution.
@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:
Ensure that you are capturing the download event and relevant attributes (e.g., user ID, timestamp) within your Tealium setup.
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.
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.
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.
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.
3 weeks ago - last edited 3 weeks ago
the Last Download Date attribute configuration and withe the rule Book Download Rule
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:
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.
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.
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.
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.
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.
Copyright All Rights Reserved © 2008-2023