panphp / pan

A simple, lightweight, and privacy-focused product analytics php package
MIT License
1.07k stars 48 forks source link

New analytics when add new [data-pan] to link not showing! #33

Closed ahmadalnaib closed 1 week ago

ahmadalnaib commented 2 weeks ago

When add new data-pan to new button or link the analytics not show it and i don't want make [php artisan pan:flush] to remove all data!

pxpm commented 2 weeks ago

Is your application using a whitelist for analytics ? Maybe you also need to add your new analytic there: https://github.com/panphp/pan?tab=readme-ov-file#whitelist-your-product-analytics

ahmadalnaib commented 1 week ago

Is your application using a whitelist for analytics ? Maybe you also need to add your new analytic there: https://github.com/panphp/pan?tab=readme-ov-file#whitelist-your-product-analytics Hi @pxpm
Just add PanConfiguration::unlimitedAnalytics(); to AppServiceProvider

ahmadalnaib commented 1 week ago

Just add PanConfiguration::unlimitedAnalytics(); to AppServiceProvider