{"repo":"panphp/pan","free":true,"listed":false,"github":"https://github.com/panphp/pan","clone":"git clone https://github.com/panphp/pan.git","description":"A simple, lightweight, and privacy-focused product analytics php package","language":"PHP","stars":1271,"topics":["analytics","library","pan","php"],"license":"MIT","category":"analytics","readme_excerpt":"--- Pan is a lightweight and privacy-focused PHP product analytics library . It’s designed as a very simple package that you can install via composer require and start tracking your pages or components with a simple data-pan attribute . At the time of writing, Pan tracks only the following events: impressions, hovers, and clicks. It does not collect any personal information, such as IP addresses, user agents, or any data that could be used to identify a user. Use cases: - you have different tabs within a page with the same URL, and you want to know which one is the most viewed . By adding the data-pan attribute to your tabs, you can track this information. - you have different register buttons in your application, and you want to know which one is the most clicked . By adding the data-pan attribute to your buttons, you can track this information. - you have different \"help\" pop-hovers in your application, and you want to know which one is the most hovered . By adding the data-pan attribute to your pop-hovers, you can track this information. - and so on... It works out-of-the-box with your favorite Laravel stack; updating a button color in your \"react\" won't trigger a new impression, but seeing that same button in a different Inertia page will. Using Livewire? No problem, Pan works seamlessly with it too. Visualize your analytics is as simple as typing php artisan pan in your terminal. This command will show you a table with the different analytics you've been tracking, and ho","default_branch":null,"files":null,"tree":[],"storefront":"/r/panphp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/panphp/pan/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}