Closed wes-otf closed 1 month ago
First, _mtm.push(['requireCookieConsent']); should be set here:
_mtm.push(['requireCookieConsent']);
https://github.com/OpenTechFund/apply-app/blob/d005f92321c1f8a167dc02ef9dc76ea399ac58e5/hypha/templates_custom/includes/head_end.html#L3
then the cookieconsent cookie should be monitored and if/when it's state updates to accept analytics cookies, _mtm.push(['setConsentGiven']) should be called
cookieconsent
_mtm.push(['setConsentGiven'])
Matomo consent docs: https://developer.matomo.org/guides/tracking-consent
Completed via https://github.com/OpenTechFund/apply-app/commit/b85164f8d391be41f9858e7b2ef8de22a94ea68e.
First,
_mtm.push(['requireCookieConsent']);
should be set here:https://github.com/OpenTechFund/apply-app/blob/d005f92321c1f8a167dc02ef9dc76ea399ac58e5/hypha/templates_custom/includes/head_end.html#L3
then the
cookieconsent
cookie should be monitored and if/when it's state updates to accept analytics cookies,_mtm.push(['setConsentGiven'])
should be calledMatomo consent docs: https://developer.matomo.org/guides/tracking-consent