- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
09-04-2023 11:55 AM - edited 09-05-2023 01:04 AM
Hi,
How can I track the number of visits on the same day? Each day it should start with 0 and every time the visitor visits the web page the number should be increased by "1".
Day 1 If the visitor visits the website 2nd time in a day then need to send the visitor to the connector. Day 2 Again if the same visitor visits the website for the 2nd time in a day then again need to send the visitor to the connector.
Thanks & Regards
If you have AudienceStream, this would be easier done in that tool than Tealium IQ.
AudienceStream
Create a number attribute and increment it by one for each session on a given day. Also create a date attribute for each time the number attribute is enriched. In the enrichment, check that the current day is the same as the timestamp. If it is different, reset the attribute to "0".
Tealium IQ
Create a cookie (persist data values extension) on session start for the count and set it to 0. Create a second cookie (persist data values extension) for the creation day and set it to the date. On each session start, update the cookie with the updated count if the current day is the same as the creation day (might require another extension to determine if the day is the same or not - could use a set data values extension). If the current day is different from the creation day, reset the cookie to 0.
Copyright All Rights Reserved © 2008-2023