aesirx-analytics 1.2.2 → 2.0.0
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 +1 -3
- package/dist/Consent-7KHERFGJ.js +8106 -0
- package/dist/analytics.js +9473 -40
- package/dist/chunk-JQ6CXYV4.js +34 -0
- package/dist/index.d.ts +3 -5
- package/dist/index.js +276 -1
- package/package.json +4 -3
- package/dist/Consent-4MLNPIUE.js +0 -1
- package/dist/chunk-D75AKWUD.js +0 -5
package/README.md
CHANGED
@@ -113,13 +113,11 @@ data-aesirx-event-attribute-<attribute-name-2>="<attribute-value-1>"
|
|
113
113
|
##### Or you can use your own Javascript to Track events:
|
114
114
|
|
115
115
|
```
|
116
|
-
window.trackEvent(endpoint,
|
116
|
+
window.trackEvent(endpoint, referer, data)
|
117
117
|
```
|
118
118
|
|
119
119
|
(`endpoint` is the link to your 1st party server which must be installed)
|
120
120
|
|
121
|
-
(`visitor_uuid` is the params get from url - it will auto generated)
|
122
|
-
|
123
121
|
(`referer` is the referer domain)
|
124
122
|
|
125
123
|
(`data` is the data you want to track)
|