I am working on an app that detects its first run, creates a GUID and stores that in encrypted local store. On subsequent runs it simply retrieves the GUID from the store.
My question is, what is the best way to communicate the GUID back to my web server? This is an always-connected app and we wish to track unique users of it (no personal info; just the GUID to make them distinct from one another).
All of the resources we wish to track are web pages loaded using htmlLoader and then displayed inside our app. So I was planning to append the GUID to the htmlLoader.userAgent property. That way I can sort log files on user agent to separate these out. But maybe I''m not thinking this through. Is there a better way to send this info to the server?