Jethro85 commited on
Commit ·
8833078
1
Parent(s): ab6eaff
log to supabase
Browse files- app/templates/base.html +4 -2
app/templates/base.html
CHANGED
|
@@ -92,8 +92,10 @@
|
|
| 92 |
headers: { 'Content-Type': 'application/json' },
|
| 93 |
body: JSON.stringify({
|
| 94 |
eventType,
|
| 95 |
-
|
| 96 |
-
|
|
|
|
|
|
|
| 97 |
...props,
|
| 98 |
})
|
| 99 |
});
|
|
|
|
| 92 |
headers: { 'Content-Type': 'application/json' },
|
| 93 |
body: JSON.stringify({
|
| 94 |
eventType,
|
| 95 |
+
vid: window.__visitor_id,
|
| 96 |
+
sessionId: window.__session_id,
|
| 97 |
+
page: location.pathname,
|
| 98 |
+
origin: location.origin,
|
| 99 |
...props,
|
| 100 |
})
|
| 101 |
});
|