@vestigemetrics/vue 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -102,8 +102,17 @@ Quando um router é configurado, chamar `buildPageview()` manualmente gera erro.
|
|
|
102
102
|
## Eventos e leads
|
|
103
103
|
|
|
104
104
|
```ts
|
|
105
|
+
await vestige.event('checkout_started');
|
|
106
|
+
|
|
107
|
+
await vestige.event('click_contact_button');
|
|
108
|
+
|
|
105
109
|
await vestige.event({
|
|
106
|
-
|
|
110
|
+
event: 'checkout_started',
|
|
111
|
+
payment_method: 'CREDIT_CARD',
|
|
112
|
+
product_name: 'Plano Pro',
|
|
113
|
+
product_id: 'pro-monthly',
|
|
114
|
+
value: 99.90,
|
|
115
|
+
currency: 'BRL'
|
|
107
116
|
});
|
|
108
117
|
|
|
109
118
|
await vestige.identifyLead('EMAIL', 'user@example.com');
|