How to use "Non-Interaction Hit=true" setting for adjusted bounce rate

1,285 views
Skip to first unread message

Tania Steenkamp

unread,
Jun 30, 2015, 9:30:19 AM6/30/15
to google-tag-mana...@googlegroups.com
I'm trying to adjust the bounce rate on a blog site by tracking page scroll.

It made no difference until I set "Non-Interaction Hit=false" this makes sense. 

But now I am worried that my pageviews are being skewed because NIH=false is set in my GA Event on Page scroll and this fires at baseline, 25% of page, 50% of page and 100% of page.

Plus people may be scrolling up and down, am I possibly getting 4 or more pageviews sent to analytics when in fact the user only viewed the page once and how can I fix it if this is the case.

Is it possible to set NIH=false for the 50% mark only?

Simo Ahava

unread,
Jun 30, 2015, 11:01:36 AM6/30/15
to google-tag-mana...@googlegroups.com
Hi,

If you're sending a GA Event on Page Scroll, you don't need to worry about Pageviews. Events are distinct from Pageviews, as they are a completely different hit type.

As for the Bounce Rate, you'll need to modify the script so that Non-Interaction is true for baseline and 25 %, if that's how you want it. You could do this perhaps by modifying the dataLayer.push() the scrolling script does, sending a 'nonInteraction' : 'true/false' value with the hit (sending 'true' for baseline and 25 %). Then you'd create a Data Layer Variable for this 'nonInteraction' variable name, and add it as the value of the Non-Interaction field in your GA Event tag. That way, Non-Interaction will be a dynamic setting, depending on what was pushed to dataLayer by the scroll tracking.

It's a pretty trivial change to make, but it does require some JavaScript chops.

Best regards,

Simo
Reply all
Reply to author
Forward
0 new messages