Status Update
Comments
[Deleted User] <[Deleted User]> #2
Hi Boris,
I'm Kevin from the Google Analytics API Team.
Currently, the measurement protocol doesn't support passing IP parameter. Also, our
Regards,
Kevin Soriano, Google Analytics API Team
il...@google.com <il...@google.com> #3
Hi Kevin,
Thanks for your quick answer, three followup questions for you:
1. Clear in terms of IP address. Is this something that you are still working on, considering the measurement protocol is still in beta?
2. The documentation lacks explanation as to how to send through the user agent? Which field can we use for this, e.g. _ua or ua?
3. The documentation lacks explanation as to how to send page_view events with traffic source fields (e.g. referrer, identifiers, utm parameters) so that it properly categorizes the session and user's source/medium.
cheers
Boris
Thanks for your quick answer, three followup questions for you:
1. Clear in terms of IP address. Is this something that you are still working on, considering the measurement protocol is still in beta?
2. The documentation lacks explanation as to how to send through the user agent? Which field can we use for this, e.g. _ua or ua?
3. The documentation lacks explanation as to how to send page_view events with traffic source fields (e.g. referrer, identifiers, utm parameters) so that it properly categorizes the session and user's source/medium.
cheers
Boris
Description
Artifact used:
androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5
Unfortunately the navigation library sometimes seems to produce some unnecessary navigation functions during some builds on some machines. (This is a nightmare to track down... :-/)
This is our project at this commit that exhibits the problem:https://codeberg.org/corona-contact-tracing-germany/cwa-android/src/commit/1918990d0d62094f3de78b71e6aa693070c20f42
So far 2 of the generated nav classes seemed to be problematic (either both or none of them):
./Corona-Warn-App/build/generated/source/navigation-args/device/release/de/rki/coronawarnapp/ui/onboarding/OnboardingDeltaAnalyticsFragmentDirections.kt
and
./Corona-Warn-App/build/generated/source/navigation-args/device/release/de/rki/coronawarnapp/release/NewReleaseInfoFragmentDirections.kt
The nav graph can be found here:https://codeberg.org/corona-contact-tracing-germany/cwa-android/src/commit/1918990d0d62094f3de78b71e6aa693070c20f42/Corona-Warn-App/src/main/res/navigation/nav_graph.xml
In both files these functions are only sometimes generated. I suppose they are not used anywhere. I also believe R8 will correctly discard them... but the final apk still doesn't end up being reproducible because of the embedded
pg-map-id
which will differ.I've attached the diffoscope output of comparing the resulting classes2.dex file (with R8 completely disabled).