New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maxScrollTracker not working #161

Closed
patrickew opened this Issue Mar 23, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@patrickew

patrickew commented Mar 23, 2017

Hello there, congrats for this great project!

I can't get maxScrollTracker to work properly. I followed the documentation and this guide to set up a custom metric and a calculated metric: http://jareddillard.com/blog/capturing-max-scroll-length-with-google-analytics.html

After setting up the custom metric, calculated metric and the custom report, I am always getting a "0%" for Avg. Max Scroll Percentage in the report.

As it's the first custom metric in my Google property, I added to the GA code:

ga('require', 'maxScrollTracker', { 
  maxScrollMetricIndex: 1, 
});

Are there any additional resources for setting up the maxScrollTracker? Any hints are highly appreciated! Thank you

@philipwalton

This comment has been minimized.

Member

philipwalton commented Mar 23, 2017

Hmmm, that post covers it pretty well (thanks @jdillard, great explainer!). Without seeing your complete implementation, it's hard to say what could be going wrong.

Is your code live on a site somewhere I could look at?

@patrickew

This comment has been minimized.

patrickew commented Mar 24, 2017

The setup worked great. I had been looking at the data from the previous day where the plugin wasn't installed yet. Today the averages appeared. Sorry and thanks!

@patrickew patrickew closed this Mar 24, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment