Skip to content

Commit 2aa3615

Browse files
committed
override test
1 parent 21c7b60 commit 2aa3615

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

test/index.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h1>jQuery Scroll Depth Test Page</h1>
1212
<footer style="background: #999; height: 200px; display: block;">footer</footer>
1313

1414
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
15-
<script src="../jquery.scrolldepth.min.js"></script>
15+
<script src="../jquery.scrolldepth.js"></script>
1616
<script>
1717
var _gaq = {};
1818
_gaq.push = function(data) {
@@ -30,15 +30,16 @@ <h1>jQuery Scroll Depth Test Page</h1>
3030
};
3131

3232
_gaq = undefined;
33-
dataLayer = undefined;
34-
ga = undefined;
33+
//dataLayer = undefined;
34+
//ga = undefined;
3535

3636
$.scrollDepth({
3737
elements: ['#main', 'footer'],
3838
userTiming: true,
39-
eventHandler: function(data) {
40-
console.log(data)
41-
}
39+
gtmOverride: true,
40+
//eventHandler: function(data) {
41+
//console.log(data)
42+
//}
4243
});
4344
</script>
4445
</body>

0 commit comments

Comments
 (0)