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

JXBrowser with Google analytics

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

 

 

 

I'm using jxbrowser for a desktop application. JXBrowser is based on Chromium version 51.

 

I'm trying to use Google Analytics but there is some strange behaviour.

When running the code via Chrome the analytics are sent as expected (and visible in the dashboard). 

But when running the same code in the JXBrowser no data is shown in the dashboard.

 

I used a sniffer and I noticed that the request to google analytics are not sent from the JXBrowser (The application connects to external servers without a problem).

 

Does anyone know what could be the cause for that issue?

 

JXBrowser with Google analytics

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

can it be a proxy setting issue?

 

also are you seeing any js errors in console?

JXBrowser with Google analytics

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Hi @A T,

 

I don't use any proxy and I didn't see any errors in the console.

Is there any chance that the analytics.js internal logic is checking agent-string? (I wouldn't expect it to filter chromium though)

JXBrowser with Google analytics

A T
Participant ✭ ✭ ✭
# 4
A T
Participant ✭ ✭ ✭

I dont think analytics.js will work differently here.

 

in the network panel for jx, are you seeing the hit going to GA?

JXBrowser with Google analytics

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

Not sure where is the "network panel for jx". 

 

I used httpry to sniff outgoing requests but didn't see any request going out to analytics servers. 

If there is a simpler way to verify this using some kind of panel I would be happy to try.

JXBrowser with Google analytics

A T
Participant ✭ ✭ ✭
# 6
A T
Participant ✭ ✭ ✭

you can try real time reports in GA.

JXBrowser with Google analytics

A T
Participant ✭ ✭ ✭
# 7
A T
Participant ✭ ✭ ✭

with fiddler you can try one more thing:

 

download the analytics.js to your desktop.

add an alert in the file and save it.

enable auto responder and point it to the desktop version of file and see.

 

https://www.optimizesmart.com/google-analytics-debugging-via-fiddler/

JXBrowser with Google analytics

Visitor ✭ ✭ ✭
# 8
Visitor ✭ ✭ ✭

I don't see reports being sent in real time when running from JXBrowser but I do see them when running from Chrome.