panphp / pan

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

Feat: increment each #1

Open MrPunyapal opened 1 month ago

MrPunyapal commented 1 month ago

Basically, if we have impressions, clicks, and hover events for the same element. It will use incrementEach instead of increment to increment the count.

As a result, the thing that happened with 6 queries will happen in 2 queries.

MrPunyapal commented 1 month ago

@nunomaduro, I rebased and made it compatible with new features.