SocialGouv / matomo-next

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

Console logging what's being excluded in tracking #121

Closed alizadeh-m closed 7 months ago

alizadeh-m commented 8 months ago

Hi, Unsure if this is an feature, but what I want to know is what the reason is for console logging what is being excluded and can you guys add an prop to opt out of it.

I think this is where in the code this is triggered. https://github.com/SocialGouv/matomo-next/blob/f10602b1383cc18a3097c68e5192556405d68d7d/src/index.ts#L106C7-L106C72

And this is what I want to opt out of: Screenshot 2024-02-13 at 11 40 28

revolunet commented 8 months ago

Hi @alizadeh-m . Could you make a pull request with an optional debug mode (default false) that activate logging if enabled ?

github-actions[bot] commented 7 months ago

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

The release is available on:

Your semantic-release bot :package::rocket: