SocialGouv / matomo-next

Matomo for Next.js applications
Apache License 2.0
152 stars 22 forks source link

Feature: allow disabling of cookie usage #83

Closed genox closed 1 year ago

genox commented 2 years ago

Hi,

It would be nice to set wether cookies are used to track or not at init().

sylvainlg commented 2 years ago

Hi,

I think the opt-out behaviour can be a interesting feature too : https://matomo.org/blog/2022/09/improvements-to-matomo-opt-out-form-feature/

vivi90 commented 1 year ago

@genox Why not using

push(['disableCookies']);

right after using init()?

Christian1984 commented 1 year ago

i would like to implement this adding disableCookies?: boolean with default false to InitSettingsand then processing it during init() would be a simple fix. i would want that. do you accept prs? cheers 🍻

revolunet commented 1 year ago

Yes thanks, we accept PRs with tests ;)

Christian1984 commented 1 year ago

Yes thanks, we accept PRs with tests ;)

🥳 awesome. you got yourself a PR to review 😅

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.7.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: