Don't ask to enable analytics when Do Not Track is enabled
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
744826db48
commit
1739b7e0cc
1 changed files with 2 additions and 1 deletions
|
@ -585,7 +585,8 @@ const LoggedInView = createReactClass({
|
||||||
limitType={usageLimitEvent.getContent().limit_type}
|
limitType={usageLimitEvent.getContent().limit_type}
|
||||||
/>;
|
/>;
|
||||||
} else if (this.props.showCookieBar &&
|
} else if (this.props.showCookieBar &&
|
||||||
this.props.config.piwik
|
this.props.config.piwik &&
|
||||||
|
navigator.doNotTrack != 1
|
||||||
) {
|
) {
|
||||||
const policyUrl = this.props.config.piwik.policyUrl || null;
|
const policyUrl = this.props.config.piwik.policyUrl || null;
|
||||||
topBar = <CookieBar policyUrl={policyUrl} />;
|
topBar = <CookieBar policyUrl={policyUrl} />;
|
||||||
|
|
Loading…
Reference in a new issue