Skip to content

Commit 21f6803

Browse files
Added page query parameter to scarf tracking pixel (#339)
1 parent 6e1e6dd commit 21f6803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/no-lint/31-scarf-pixel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
window.addEventListener('CookiebotOnAccept', function () {
33
if (Cookiebot.consent.marketing) {
44
var img = document.createElement('img')
5-
img.src = 'https://static.neo4j.com/a.png?x-pxid=dae9b690-6a56-4889-a951-9d0207a18da6'
5+
img.src = 'https://static.neo4j.com/a.png?x-pxid=dae9b690-6a56-4889-a951-9d0207a18da6&page=' + encodeURIComponent(window.location.href)
66
img.referrerPolicy = 'no-referrer-when-downgrade'
77
img.style.display = 'none'
88
document.body.appendChild(img)

0 commit comments

Comments
 (0)