Skip to content

Commit

Permalink
Issue #738 - Allow configuring google analytics tracking (#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Matyushentsev committed Jul 1, 2019
1 parent 71cf80b commit f555da6
Show file tree
Hide file tree
Showing 13 changed files with 439 additions and 49 deletions.
15 changes: 15 additions & 0 deletions assets/swagger.json
Expand Up @@ -1615,6 +1615,18 @@
}
}
},
"clusterGoogleAnalyticsConfig": {
"type": "object",
"properties": {
"anonymizeUsers": {
"type": "boolean",
"format": "boolean"
},
"trackingID": {
"type": "string"
}
}
},
"clusterOIDCConfig": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1647,6 +1659,9 @@
"dexConfig": {
"$ref": "#/definitions/clusterDexConfig"
},
"googleAnalytics": {
"$ref": "#/definitions/clusterGoogleAnalyticsConfig"
},
"oidcConfig": {
"$ref": "#/definitions/clusterOIDCConfig"
},
Expand Down
5 changes: 5 additions & 0 deletions docs/operator-manual/argocd-cm.yaml
Expand Up @@ -10,6 +10,11 @@ data:
# Enables application status badge feature
statusbadge.enabled: 'true'

# Enables google analytics tracking is specified
ga.trackingid: 'UA-12345-1'
# Unless set to 'false' then user ids are hashed before sending to google analytics
ga.anonymizeusers: 'false'

# A dex connector configuration (optional). See SSO configuration documentation:
# https://github.com/argoproj/argo-cd/blob/master/docs/sso.md
# https://github.com/dexidp/dex/tree/master/Documentation/connectors
Expand Down

0 comments on commit f555da6

Please sign in to comment.