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

Missing transactions ga.js VS analytics.js

Follower ✭ ☆ ☆
# 1
Follower ✭ ☆ ☆

Hi All,

 

One of our clients is in the process of upgrading from classic analytics (ga.js) to universal analytics (analytics.js). We see a slight difference in sessions and users, which is to be expected. We do experience a quite large persistent difference based on transactions. This is about 10%.

 

At the moment, classic analytics (ga.js) is measured the hard-coded way. We first implemented universal analytics using the Google Tag Manager. We spotted the difference in transactions and made some adjustments to the Google Tag Manager. Our efforts did not seem to lower the gap between the missing transactions. Hence, we took it upon ourselves to also hard-code the transaction script for universal analytics on the Thank You page. Guess what: Exact same difference. The Universal Analytics Transaction script is placed above the classic analytics transaction script on the Thank You page.

 

Our conclusion: the difference stems from the library (ga.js VS analytics.js). Does anyone has any experience with this issue? Can we do anything, next to using the measurement protocol, to resolve this issue? Your help is hugely appreciated.

 

Kind regards,

Joost

Missing transactions ga.js VS analytics.js

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭

 

You can easily debug on the website with GA debugger:
https://chrome.google.com/webstore/detail/jnkmfdileelhofjcijamephohjechhna

You can check in chrome, console tab with 'Preserve log' turned ON.

 

https://developers.google.com/analytics/devguides/collection/upgrade/reference/gtm

 

The way these two js libraries are created, initially you might see a difference in numbers / way the transactions are calculated.

Missing transactions ga.js VS analytics.js

Follower ✭ ☆ ☆
# 3
Follower ✭ ☆ ☆

Hi A T,

 

Thank you for your response. We are familar with the Chrome Debugger. This however, does not provide us with an answer. What we are probably looking for is instances when the ga.js script will load, but the analytics.js script will not. Can you help us out with that? Any experience with this issue?

 

Best,

Joost

 

Missing transactions ga.js VS analytics.js

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

Hi Joost,

 

Have you been able to pin down the issue?

Have you also looked at the difference of confirmation page view hits? If the page view hit is stalled, the transaction hit will not have been sent.

 

Best,

Max

 

Missing transactions ga.js VS analytics.js

Follower ✭ ☆ ☆
# 5
Follower ✭ ☆ ☆

Hi Maxime,

 

Thank you for looking into this old post.

 

We have not been able to pinpoint the issue. We are moving to implementing the Measurement Protocol (which we will be launching soon).

 

Taking your comment into account, we did not see any difference in confirmationpage hits prior and post implementing analytics.js.

 

Best,

Joost