Skip to content

Commit a046423

Browse files
committed
docs: add instructions for deleting an analytic record by ID
1 parent c9b1099 commit a046423

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,14 @@ To flush your product analytics, you may use the `pan:flush` Artisan command:
139139
php artisan pan:flush
140140
```
141141

142+
## Delete an analytic
143+
144+
To delete a specific analytic record by its ID, use the `pan:delete` Artisan command:
145+
146+
```bash
147+
php artisan pan:delete <id>
148+
```
149+
142150
## How does it work?
143151

144152
Via middleware, Pan injects a simple JavaScript library into your HTML pages. This library listens to events like `viewed`, `clicked`, or `hovered` and sends the data to your Laravel application. Note that this library does not collect any personal information; such as IP addresses, user agents, or any information that could be used to identify a user.

0 commit comments

Comments
 (0)