Comments (3)
Hi @8secz-johndpope ,
The tracking consent is mostly related to GDPR, where end users must give their consent to being tracked. The value you can pass in the initialize()
or setTrackingConsent()
methods reflect that. We don't create any UI at all, it's up to you to ask the user's consent in your own way.
The usual way we suggest is to start with PENDING
when you don't yet know what the user asked, and then switch to GRANTED
or NOT_GRANTED
depending on the user's preference. While the consent is PENDING
, we keep the RUM data locally and never upload them to Datadog, and only when the tracking is GRANTED
do we upload them.
If you don't have yet a mecanism to ask the user's consent, you can just use GRANTED
and the SDK will send all the tracking data to Datadog.
Regarding Debug builds, the SDK should work fine in debug too, but you can disable the SDK to prevent your Debug sessions to add noiose to your data if you want. You can definitely use Datadog in production of course, no issue there.
The OkHttp interceptor is required to get information about your network request and how they can impact the performance of your application.
from dd-sdk-android.
It seems the docs are specific to kotlin only for view fragment lifecycle. If you could spoon feed a Java snippet around step 5/6 or 7 that would be awesome around tracking of view fragments
from dd-sdk-android.
Hi @johndpope ,
Indeed the code snippet are all in Kotlin, but they all translate exactly as it is for Java.
If you cant to track fragment as Views, you can simply call the useViewTrackingStrategy(new FragmentViewTrackingStrategy())
method on your Configuration builder.
from dd-sdk-android.
Related Issues (20)
- TextView's compound drawables rendered smaller when enabling SessionReplay HOT 3
- IllegalArgumentException when removing OnFrameMetricsAvailableListener HOT 4
- Tracer and OkHttp: what happen when apply sampler for both of them? HOT 2
- integration issue HOT 1
- Lower than expected startup times since 2.6.0 HOT 2
- Logging: setNetworkInfoEnabled(false) doesn't seem to take effect HOT 5
- ANR on `Rum.enable()` HOT 7
- Rum works but logger don't send logs HOT 6
- Remove a default attribute HOT 2
- Crash generated by DrawableUtils HOT 2
- JankStatsActivityLifecycleListener.onActivityStopped - HOT 4
- setTelemetrySampleRate, explanation HOT 3
- Security vulnerability introduced with SDK v2.7.1 (okio) HOT 2
- Unable to log custom actions HOT 1
- Memory Leak : AggregatingVitalMonitor listeners are never unregistered HOT 3
- Missing DataDog events caused by UnknownError HOT 9
- Cannot implementation com.datadoghq:dd-sdk-android-logs HOT 4
- ./gradlew uploadMappingRelease crashes trying to upload mapping.txt file after release build HOT 2
- How to group views as Service? HOT 1
- Fragment views stopped getting registered HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dd-sdk-android.