diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2019-04-19 14:45:04 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@matomo.org> | 2019-04-19 14:45:04 +0300 |
commit | dd5631d542373fc3e770d3e81a5597fd08ae52eb (patch) | |
tree | dce2ef0ffbe5bfbd29ff3194dffe91a8c973a27f /plugins/PrivacyManager | |
parent | 207a94f8048d4d4a9e23666ded54f6c4d08ac410 (diff) |
Fix typo in "Asking for Consent" JS code (#14361)
* Fix typo in "Asking for Consent" JS code
as reported by a user
* update UI test
Diffstat (limited to 'plugins/PrivacyManager')
-rw-r--r-- | plugins/PrivacyManager/templates/askingForConsent.twig | 2 | ||||
-rw-r--r-- | plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PrivacyManager/templates/askingForConsent.twig b/plugins/PrivacyManager/templates/askingForConsent.twig index ffd4975e5d..6927505d1b 100644 --- a/plugins/PrivacyManager/templates/askingForConsent.twig +++ b/plugins/PrivacyManager/templates/askingForConsent.twig @@ -27,7 +27,7 @@ </p> <pre piwik-select-on-focus><code>// require user consent before processing data _paq.push(['requireConsent']); -_paq.push([‘trackPageview']); +_paq.push(['trackPageview']); [...]</code></pre> <p> Once this function ‘requireConsent' is executed then no tracking request will be sent to Matomo. Note that some <a href="https://matomo.org/faq/general/faq_146/" target="_blank" rel="noreferrer noopener">tracking cookies</a> will be set during this page view but will be deleted as soon as the user navigates to a different page or closes the browser. diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png index 6df3dd1977..d01664c73b 100644 --- a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png +++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:53bc2fcd2c58ffa63db2e9f750c79b88f549552e3a2f09e923eb6eed784bc5d8 -size 381330 +oid sha256:41c904ce9e8fffc2479d006ce04154ecd2882bd5e4b27cda6ee1cddc27fbd8c0 +size 381301 |