12/27/2023 0 Comments Ga session definitionIf Bob visits a.com and clicks a link to your site, he starts a session attributed to a referral from a.com. ReferralsĪ new campaign is attributed every time a user clicks a link to your site from a referring site. Because each click has its own gclid value, each click is treated as a separate campaign and creates a new session. In the case of Google Ads autotagging, each click generates a unique campaign value (a gclid value). Direct traffic, however, never updates or replaces an existing campaign source such as a search engine, referring site, or campaign-tagged information. Generally speaking, the campaign updates anytime the user arrives at your site via a search engine, referring website, or campaign-tagged URL. In the example above, Bob first arrives at your website via the Google organic keyword Red Widgets, then later returns via the Google paid keyword Blue Widgets.Įach search term updates the campaign, so each keyword corresponds to a new session. Each time the value of the campaign is updated, Analytics opens a new session. Let’s say Bob opens your website in the following order:Īnalytics stores campaign source information. It’s important to point out that even if an existing session is still open (that is, less than 30 mins have elapsed), if the campaign source changes mid-session the first session is closed and a new session is opened. Campaign based expirationĮvery time a user's campaign source changes, Analytics opens a new session. The first session ends at 11:59:59 PM on the 14th of August, and the second session begins at 12:00 AM on the 15th of August.Įnd of day is determined by your view timezone settings. End of day expiryīob opens your website at 11:50 PM on the 14th of August and leaves your website at 12:10 AM on the 15th of August. It’s worth noting that his time on page for pageview 2 (product) is 29 minutes, since time on page is calculated as the difference between the initiation of successive pageviews: pageview 3 - pageview 2 (14:31-14:02 = 00:29). The difference this time is that because he returned in under 30 minutes, the old session remains open. As far as Analytics is concerned, he never left your website.īob was half way through a product purchase when he left your site and went for lunch. When Bob returns, the session that was open continues from the last page he was viewing on your site (provided he doesn’t return via another campaign source - a bit more about this below). What happens if Bob leaves open a page on my site, but only takes a 29-minute lunch break before he continues browsing? The landing page of the new session is the add-to-cart page. He later returned to complete the transaction. When he returns from lunch and continues browsing the website, then Analytics sets a new 30-minute expiry, and a new session begins.īob was half way through a product purchase when he left your site and went for lunch. In this scenario, the first session that was opened when Bob arrived on the site ends 30 minutes into his lunch break. What happens if during a session to my site, Bob leaves open a page while he takes a 31-minute lunch break, then returns to continue browsing the site? As Bob continues through your site, viewing pages and triggering events, each of these additional requests moves the expiry ahead 30 minutes. When Bob first arrives on your site, the session is set to expire at 14:31. ExampleĪssume Bob interacts with your website at the following intervals:Īfter event 2, the session expiry is set to 14:34 However, every time Bob interacts with an element (like an event, social interaction, or a new page), Analytics resets the expiration time by adding on an additional 30 minutes from the time of that interaction. If 30 minutes pass without any kind of interaction from Bob, the session ends. When a user, say Bob, arrives on your site, Analytics starts counting from that moment. Learn more about adjusting session settings. Time based expiration How long does a session last?īy default, a session lasts until there's 30 minutes of inactivity, but you can adjust this limit so a session lasts from a few seconds to several hours. If a user arrives via one campaign, leaves, and then comes back via a different campaign.There are two methods by which a session ends: As soon as one session ends, there is then an opportunity to start a new session. Those sessions can occur on the same day, or over several days, weeks, or months. You can think of a session as the container for the actions a user takes on your site.Ī single user can open multiple sessions. Learn more about the different request types in Analytics. For example a single session can contain multiple page views, events, social interactions, and ecommerce transactions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |