Skip to content

Commit 70012b0

Browse files
committed
add bookmark utm_source for traffic analysis
1 parent efdbc36 commit 70012b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/custom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function addAuthorPart(html) {
146146
function addQRPart(html) {
147147
let div = document.createElement('div');
148148
let qr = document.createElement('img');
149-
qr.setAttribute('src', 'https://api.qrserver.com/v1/create-qr-code/?size=70x70&data=' + window.location.href);
149+
qr.setAttribute('src', 'https://api.qrserver.com/v1/create-qr-code/?size=70x70&data=' + window.location.href + '?utm_source=bookmark');
150150
qr.setAttribute('style', 'width: 70px; height: 70px; max-width: none !important;');
151151
div.appendChild(qr);
152152
html.appendChild(div);

0 commit comments

Comments
 (0)