Analytics
2.2K members online now
2.2K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

how can I control Session?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I would like to divide the session between end page and start page, but I couldn't.

Below are my code and GA page. 

 

ga('send', 'pageview','start',{'sessionControl': 'start'});

ga('send', 'pageview','end',{'sessionControl': 'end'});

 

 이미지 145.png

how can I control Session?

Follower ✭ ✭ ✭
# 2
Follower ✭ ✭ ✭

 

Hey,

 

Please go through mentioned below link, hope youe problem will slove 

 

https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference

 

Please fire this code on that page where you want to start new session , old session automatically end 

// Starts a new session.
ga
('send', 'pageview', {'sessionControl': 'start'});