Tuesday, 3 September 2013

push element pos with javascript to google analytics

push element pos with javascript to google analytics

good morning,
i've got a problem with my javascript and google analytics. with
javascript/jquery i check the position of some elements (divs) on my
website. if the browser/scrolling reachs some of those position, my
function will push the current scrolled element to google analytics.
and the javascript: http://pastie.org/private/h41exgl8bqsxiq72wtkkbw
i'm not 100 percent sure that my javascript will work, but i never get any
error. maybe you finde one?
the most import point in this post ist: how could it be possible that
"scrolling slide 5" is before "scrolling slide 4"?
thanks for helping,
frank

No comments:

Post a Comment