Analytics
5.8K members online now
5.8K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Ecommerce tracing in Google Analytics

Follower ✭ ☆ ☆
# 1
Follower ✭ ☆ ☆
Hi,
 
We have a problem with ecommerce tracking, specifically, getting the right landing page.
 
Here’s what we do.
There’s an id associated with a user in cookie (_GA) generated by Google Analytics.
During the payment we pass parameters through measurement protocol:
 - PageView and details
 - Transactions with details
 
for the user ClientId we pass the above mentioned id:
cid' => $google_cid, (_GA)
 
and also:
$dp = 'mysite.com/deposits'; which is a required field.
 
in our Google Analytics -> Admin -> Tracking info -> Session settings - we set ‘Session timeout’ 4 hours.
 
Now in the Google Analytics -> Ecommerce ->  Sales Performance reports, when we add as a secondary dimension ‘Landing Page’, for most of the transactions it shows our default page:mysite.com/deposits
 
If a user makes the payment during the ‘Session timeout’ time, in the reports we can see the actual landing page, however, if the user makes it after the Session timeout, we miss the actual landing page and see this URL:mysite.com/deposits
 
At the same time, if we change the secondary dimension to source/medium, we see the correct data.
 
I would like to know what’s incorrect there and how to see all the correct information about the user, specifically, the correct landing pages to show in Google Analytics reports.
Is there any documentation available with examples?
 
Please let me know if you need more details.
 
Thank you,
Leo
1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Levon A
April 2016

Re: Ecommerce tracing in Google Analytics

Top Contributor
# 2
Top Contributor
Hi Leo,

in essence this is expected behaviour.

If transactions and pages get through to GA then your MP hits are valid so skipping this part.

Case - the MP hit gets sent after the session timeout:
1) sending a new hit will create a new session
2) This session (without the referral info) will be set as direct
3) as GA works with a last non direct attribution model in standard reports it will attribute the source of this session to the last known source (within the campaign timeout period - 6 months by default)
4) the initial session will have the original source / medium attached - the new session will have the same source / medium attached yet the landing pages will differ - first session the original LP and the second, new, session will have mysite.com/deposit

You could do the following:
1) use qt MP parameter https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#qt
2) store the LP and send it with the new session (MP hit)

Hope it helps!

Kind regards,
Zorin
Web analyst @ escapestudio.net

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Levon A
April 2016

Re: Ecommerce tracing in Google Analytics

Top Contributor
# 2
Top Contributor
Hi Leo,

in essence this is expected behaviour.

If transactions and pages get through to GA then your MP hits are valid so skipping this part.

Case - the MP hit gets sent after the session timeout:
1) sending a new hit will create a new session
2) This session (without the referral info) will be set as direct
3) as GA works with a last non direct attribution model in standard reports it will attribute the source of this session to the last known source (within the campaign timeout period - 6 months by default)
4) the initial session will have the original source / medium attached - the new session will have the same source / medium attached yet the landing pages will differ - first session the original LP and the second, new, session will have mysite.com/deposit

You could do the following:
1) use qt MP parameter https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#qt
2) store the LP and send it with the new session (MP hit)

Hope it helps!

Kind regards,
Zorin
Web analyst @ escapestudio.net

Re: Ecommerce tracing in Google Analytics

Follower ✭ ☆ ☆
# 3
Follower ✭ ☆ ☆
Thank you, Zorin.