@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.
Files changed (2) hide show
  1. package/README.md +10 -1
  2. 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
- name: 'checkout_started'
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');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vestigemetrics/vue",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Vue adapter for Vestige Metrics compiled tags",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",