Update documentation

This commit is contained in:
Jarek Rozanski 2024-09-22 20:42:16 +00:00
parent 804e8ea1d8
commit 91b53da7f0

View file

@ -86,9 +86,7 @@ export default defineNuxtConfig({
The Wide Angle Analytics provides an instance of `waa` which can be then injected to your component. The Wide Angle Analytics provides an instance of `waa` which can be then injected to your component.
```javascript ```javascript
import { useWideAngle } from '#imports'; useWaaEvent('purchase', {'basket_element': 'dress'}, {'basket_item_price': 123.44});
useWideAngle('purchase', {'basket_element': 'dress'}, {'basket_item_price': 123.44});
``` ```
You will find a fully functional example in this [repository](playground/app.vue). You will find a fully functional example in this [repository](playground/app.vue).