chore(docs): update nextjs docs

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-10-29 21:12:20 +01:00
parent dfe36feb70
commit c36f8f3a06

View File

@@ -55,6 +55,7 @@ export default RootLayout({ children }) {
- `profileId` - If you have a user id, you can pass it here to identify the user
- `cdnUrl` - The url to the OpenPanel SDK (default: `https://openpanel.dev/op1.js`)
- `filter` - This is a function that will be called before tracking an event. If it returns false the event will not be tracked. [Read more](#filter)
- `globalProperties` - This is an object of properties that will be sent with every event.
##### `filter`