I'm envisioning a hotel booking site where there are "nudges" telling you that "5 other people are looking at this property right now". In this case, the information is certainly available in the browser and could be used in DTM rule conditions or actions.
So, the answer is really, "It depends on what info you can get at from the browser within the visitor's session".
Sorry, but DTM does not have that information. That is really in the realm of Adobe Analytics / Target.
If you think about the request in more detail, it may begin to resolve.
Request: I want to have DTM take some action for a visitor when there are more than 5 unique visitors in the Country of the visitor.
1) 5 unique visitors for a Country also requires the element of time (in what period of time?) Let's assume that we want to count 5 unique visitors in a country in the last hour.
2) Since DTM runs on the client and only knows about what one user does, we need a place to aggregate data to get unique visitor counts. That place is some server-based system that receives data from MANY users, assigns them unique user ids and determines where each user is (geolocation. self-reporting, or known 1st party data). Anyway, that server-based system would need to collect the data and constantly aggregate to produce a count of unique visitors per country.
3) Assuming that we have data collection and aggregation in place (step 2 above), we now need a way to provide that information back down to each DTM instance (as well as the country of the current user). This would most likely be done via some sort of custom API call that would be made from DTM to the server. Only after all this has been figured out and done, would you have enough information for DTM to act upon.
A more typical approach is to do all this on the server-side, run the rule there and send content or action to the client. This is more the model of Adobe Target (or Optimizely, Monetate, etc).
If your concern is just in analysis (and you aren't actually trying to take some client-side action) then could pull it out of the data that you have in Adobe Analytics via segmentation.
Thank you so much for your respond! I also was thinking about creating a segment with this condition and then export the data with Data Warehouse (Adobe Analytics feature). The only requirement I do have is this condition to be executed before the data export. Do you think this is a good decision?
thank you so much for your answer! I didn't use the right word. It's not the users but the unique visitors. Sorry about the confusion.
Can I track only if unique visitors per Country are more than 5? On DTM Level in the rules can I set the condition or filter for unique visitors per Country >5? Thank you so much for your help with this!