aesirx-analytics 2.2.7 → 2.2.9
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 +2 -3
- package/dist/{Consent-M45YG3LT.js → Consent-57MTI7TD.js} +1 -1
- package/dist/{ConsentCustom-IPBQSSPS.js → ConsentCustom-EZS7JI2G.js} +1 -1
- package/dist/analytics.js +134 -133
- package/dist/{chunk-IMKTWH5I.js → chunk-5VSCCPP6.js} +4 -4
- package/dist/index.js +10 -10
- package/package.json +3 -3
package/README.md
CHANGED
@@ -146,7 +146,7 @@ data-aesirx-event-attribute-<attribute-name-2>="<attribute-value-1>"
|
|
146
146
|
##### Or you can use your own Javascript to Track events:
|
147
147
|
|
148
148
|
```
|
149
|
-
window.
|
149
|
+
window.trackEventAnalytics(endpoint, referer, data)
|
150
150
|
```
|
151
151
|
|
152
152
|
(`endpoint` is the link to your 1st party server which must be installed)
|
@@ -158,9 +158,8 @@ window.trackEvent(endpoint, referer, data)
|
|
158
158
|
For example:
|
159
159
|
|
160
160
|
```
|
161
|
-
|
161
|
+
trackEventAnalytics(
|
162
162
|
"https://example.com",
|
163
|
-
visitor_uuid,
|
164
163
|
"https://aesirx.io",
|
165
164
|
{
|
166
165
|
event_name: "<event_name>",
|