What to set cid (client ID) to for a desktop program?
I am updating 16 desktop programs to send analytics data to GA.
I'm planning to set :
uid=GUID() // I generate a random GUID via a Windows api call
an= $ShortNameOfProgram /// an is app name
It's a little redundant but seems like the best way to "mimic" the format GA is using (where a Client would, I assume, be a web browser)
Re: What to set cid (client ID) to for a desktop program?
you can use whatever string you want as long as it does not pass any PII / Private data. Google suggests using UUID v4 but this is not required. https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#cid