Skip to content

Commit 07dc51f

Browse files
committed
Describe EDM4U analytics in readme
Bug: 157264720 Change-Id: I9713c634ff497f366ecabb2ff1d93232a6c23c5f
1 parent f7505b4 commit 07dc51f

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,18 @@ their customers. For more information about integrating EDM4U
124124
into your own plugin, see the [Plugin Redistribution](#plugin-redistribution)
125125
section of this document.
126126

127+
# Analytics
128+
129+
The External Dependency Manager for Unity plugin by default logs usage to Google
130+
Analytics. The purpose of the logging is to quantitatively measure the usage of
131+
functionality, to gather reports on integration failures and to inform future
132+
improvements to the developer experience of the External Dependency Manager
133+
plugin. Note that the analytics collected are limited to the scope of the EDM4U
134+
plugin’s usage.
135+
136+
For details of what is logged, please refer to the usage of
137+
`EditorMeasurement.Report()` in the source code.
138+
127139
# Requirements
128140

129141
The *Android Resolver* and *iOS Resolver* components of the plugin only work

source/VersionHandlerImpl/src/VersionHandlerImpl.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2274,7 +2274,8 @@ public static Logger Logger {
22742274
// Privacy policy for analytics data usage.
22752275
internal const string PRIVACY_POLICY = "https://policies.google.com/privacy";
22762276
// Product Url
2277-
internal const string DATA_USAGE_URL = "https://github.com/googlesamples/unity-jar-resolver/";
2277+
internal const string DATA_USAGE_URL =
2278+
"https://github.com/googlesamples/unity-jar-resolver#analytics";
22782279

22792280
// Analytics reporter.
22802281
internal static EditorMeasurement analytics = new EditorMeasurement(

0 commit comments

Comments
 (0)