How to validate a clientID UUID?

451 views
Skip to first unread message

Michael Trim

unread,
Nov 20, 2014, 7:15:33 AM11/20/14
to google-analytics-m...@googlegroups.com
I am using the measurement protocol to track screen views and events (in a Mobile property) from a desktop application where no SDK is available.

I generate a client ID using a method that purports to generate a v4 compatible UUID - when I validate each UUID generated by this method (via a separate validator) they are all confirmed as valid v4 UUIDs.


However I can demonstrably prove that only about 50% of the time do these clientIDs work with GA - causing Hits to go unprocessed.

Does anybody know how I can validate a clientID UUID for Google Analytics other than trial and error?

Many thanks,

Michael

Philip Walton

unread,
Nov 20, 2014, 11:44:58 AM11/20/14
to Michael Trim, google-analytics-m...@googlegroups.com
Michael, the measurement protocol shouldn't be validating client IDs, so this seems strange to me. If it is happening, it's probably a bug, and (since it sounds like you can reproduce the steps) it'd be best to report it on the issue tracker:


--
You received this message because you are subscribed to the Google Groups "google-analytics-measurement-protocol" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-measure...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages