AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2K members online now
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

Connecting Server Events to GA Sesssion

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We currently have a web app, and our server sends events through to GA, however they do not connect with the rest of the users session.

 

What parameter do we need to send to connect the two - do we need to send UID for both the client side and server side pings, or is there something we can add purely on the server side to get them to connect?

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Josh D
April 2016

Re: Connecting Server Events to GA Sesssion

Top Contributor
# 4
Top Contributor
Hi Josh,

Yes, if you have authentication on the site User ID would work also.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

View solution in original post

Re: Connecting Server Events to GA Sesssion

Top Contributor
# 2
Top Contributor
Hi Josh,

They can be connected using the Client ID. You can collect it from the _ga cookie, save it to your db and send with your event to GA. Let me know if you have questions.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Connecting Server Events to GA Sesssion

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thanks Arnold,

Would sending a UID from both the front end and server also work?
Marked as Best Answer.
Solution
Accepted by topic author Josh D
April 2016

Re: Connecting Server Events to GA Sesssion

Top Contributor
# 4
Top Contributor
Hi Josh,

Yes, if you have authentication on the site User ID would work also.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital