Google Analytics ask you to use this piece of code in order to provide an user id from devices:
ga(‘set’, ‘&uid’, {{USER_ID}});
Right now I am using following code but I do not know how to include DEVICE_ID:
var analytics:Analytics = Analytics.getInstance();
var tracker:ITracker = analytics.getTracker(ANALYTICS_ID);
tracker.buildEvent("click", "play").track();
Hello,
I am using your ANE for tracking "pages" and "events" in Google Analytics:
// pages tracker.buildView("/home").track();
// events tracker.buildEvent("click", "play").track();
I would like to unify sessions of the same device by using a device identifier (DEVICE_ID): https://support.google.com/analytics/answer/3123662
Google Analytics ask you to use this piece of code in order to provide an user id from devices: ga(‘set’, ‘&uid’, {{USER_ID}});
Right now I am using following code but I do not know how to include DEVICE_ID:
How can I include DEVICE_ID?
Thank you. J. Pablo.