Skip to content

Commit

Permalink
override test
Browse files Browse the repository at this point in the history
  • Loading branch information
robflaherty committed Jul 18, 2015
1 parent 21c7b60 commit 2aa3615
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1>jQuery Scroll Depth Test Page</h1>
<footer style="background: #999; height: 200px; display: block;">footer</footer>

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

_gaq = undefined;
dataLayer = undefined;
ga = undefined;
//dataLayer = undefined;
//ga = undefined;

$.scrollDepth({
elements: ['#main', 'footer'],
userTiming: true,
eventHandler: function(data) {
console.log(data)
}
gtmOverride: true,
//eventHandler: function(data) {
//console.log(data)
//}
});
</script>
</body>
Expand Down

0 comments on commit 2aa3615

Please sign in to comment.