Skip to content

Commit 63bb304

Browse files
committed
Ensured all page offsets are integers (fixes snowplow#291)
1 parent 94fce9f commit 63bb304

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Version 2.2.0 (2014-11-xx)
22
--------------------------
3-
Ensured all page offsets are integers (#291) (TODO)
3+
Ensured all page offsets are integers (#291)
44
Added public method to get duid (#289) (TODO)
55
Added public method to get user fingerprint (#288) (TODO)
66
Added bundle.js to deploy/.gitignore (#281)

src/js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@
650650
function logPagePing(pageTitle, context) {
651651
resetMaxScrolls();
652652
core.trackPagePing(purify(configCustomUrl || locationHrefAlias), pageTitle, purify(configReferrerUrl),
653-
minXOffset, maxXOffset, minYOffset, maxYOffset, context);
653+
Math.round(minXOffset), Math.round(maxXOffset), Math.round(minYOffset), Math.round(maxYOffset), context);
654654
}
655655

656656
/**

0 commit comments

Comments
 (0)