fix instructions
This commit is contained in:
committed by
Carl-Gerhard Lindesvärd
parent
ccfddc215f
commit
e4eb697b47
@@ -1,6 +1,6 @@
|
||||
##### Web options
|
||||
|
||||
- `trackScreenViews` - If true, the library will automatically track screen views
|
||||
- `trackOutgoingLinks` - If true, the library will automatically track outgoing links
|
||||
- `trackAttributes` - If true, the library will automatically track attributes
|
||||
- `trackScreenViews` - If true, the library will automatically track screen views (default: false)
|
||||
- `trackOutgoingLinks` - If true, the library will automatically track outgoing links (default: false)
|
||||
- `trackAttributes` - If true, you can trigger events by using html attributes (`<button data-track="your_event" />`) (default: false)
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ op.screenView({ title: 'Home' }); // path will be what ever window.location.path
|
||||
## Script tag
|
||||
|
||||
- New: `https://openpanel.dev/op1.js` should be used instead of `op.js` (note the filename)
|
||||
- Renamed: Tracking with attributes have changed. Use `data-track="my_event"` instead of `data-event="my_event"`
|
||||
|
||||
## @openpanel/nextjs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user