panphp / pan

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

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

Closed ahmadalnaib closed 1 day ago

ahmadalnaib commented 5 days 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 4 days 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 day 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 day ago

Just add PanConfiguration::unlimitedAnalytics(); to AppServiceProvider