Yesterday I was making some tests on a new conversion Variable, and I noticed something I was'nt aware of .
Basically, I did a test, then I closed my tab and window, then I made another test on my evar value - and all within 30 minutes. I believed that a new visit was going to be counted after closing the tab or window - but my results showed a single visit.
So, the definition of visit is :
"Visits: The number of sessions within a given time period. A visit is defined as a sequence of consecutive page views without a 30-minute break, or continuous activity for 12 hours. They most commonly consist of multiple image requests, however visitors that bounce can consist of a single page view."
Is this a normal behaviour ? Or maybe I'm doing something wrong on my workspace analysis ?
Yes, the last image request before a visit expires is the end of the visit - and that is taken as the Exit page. So, it would wait for 30 minutes to ensure that there isn't any further activity. Your understanding is absolutely correct.
Also, with regards to the follow-up question, it would be counted on both hour. Let me take an example, if a visit starts at 11.55 PM on 14th June and ends at 12.15 AM on 15th June, that visit would be counted in both 14th and 15th June. The same concept applies to every time period - hourly, weekly, quarterly, yearly.
So, in your example, the visit starting 29 minutes before the batch would be counted against the current as well as next hour.