Jun 09, 2022
In Welcome to the Forum
That's why your data in GA4 probably Latest Mailing Database doesn't quite match that from your old property. What does this solution consist of? Here is an overview of all parts in the GTM container: Script – Session duration tag This script checks Latest Mailing Database every second how long the visitor has been on the site. GA4 Event – Session Latest Mailing Database Duration tag The GA4 event sends the session duration in this format: session_duration_1min. You can of course adjust this to your own liking. Event – Session Duration trigger By default, this trigger fires after 1, 2, 3, 5, 10, and 30 minutes. You can deviate from this, this can be Latest Mailing Database configured in the script tag. dataLayer – Session Duration Minutes Variable This variable returns the session duration in minutes. Can I also use the session duration conversion in other Analytics tools? Secure! The session duration comes through in the dataLayer as follows: Session duration in the Latest Mailing Database dataLayer Session duration in the dataLayer. Someone with skills in Google Tag Manager Latest Mailing Database can therefore also convert this solution to other Analytics programs such as Piwik or Matomo. Does this solution place cookies? Yes, this solution uses a first-party cookie Latest Mailing Database called 'ga_session_duration'. This cookie keeps track of the number of seconds of the current session. That looks like this: The session duration is stored in a cookie The session Latest Mailing Database duration is stored in a cookie for 30 minutes.