OptOut iframe when browser uses do-not-track

When I include the opt-out iFrame on my page it will tell the user that he is being tracked and he may opt out by clicking the link.

This information is wrong when the user already has the do not track flag set in his browser.

The iframe should inform that the do-not-track flag is set and the user is not being tracked.

This issue was fixed in 2.12.0 - you can use it now: I would like to test early beta and RC releases, how do I enable automatic updates to use these development versions? - Analytics Platform - Matomo