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

I have problem track individual pages in cordova/XDK App...

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have problem track individual pages in cordova/XDK App...

 

View ID needed  -  these are OK??? 

 

window.analytics.startTrackerWithId('UA-YYYYYYY-1');  // same to all 

window.analytics.trackView('Home');  // title of page

window.analytics.setUserId('ZZZZZZZZ');   // View ID of page ????  IS THIS CORRECT???????

Re: I have problem track individual pages in cordova/XDK App...

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭
ALL PAGES TRACKING GETTING BUT NOT INDIVIDUAL PAGES..... Well??

Re: I have problem track individual pages in cordova/XDK App...

[ Edited ]
Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

applied Analytics plugin [cordova-plugin-google-analytics by Daniel C. Wilson]

Re: I have problem track individual pages in cordova/XDK App...

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
IS IT CORRECT SYNTAX IN CODE? WHY TRACK ONLY TOTAL ALL PAGES NOT INDIVIDUAL... MAY CHOSEN WEB SITE RATHER APP IN View create?