I want to set a user scope dimension in Google Analytics using the SDK v4. The value of this dimension never changes in runtime.
When I created the dimension following this instructions the page gave me this code:
String dimensionValue = "SOME_DIMENSION_VALUE";
tracker.set(Fields.customDimension(1), dimensionValue);
This code is for SDK v3 and doesn't work at SDK4.
I readed this too: Custom Dimensions & Metrics - Android SDK v4. Their solution is to set the dimension EVERY time I send a page view, event, etc. That is mess! This dimension never changes. The sesion or user dimensions change less than the screen name which can be saved at tracker level.
Here my question: Is there a method to set the custom dimensions at tracker level like the Tracker.setScreenName
?