i've got a fullpage.js jquery single-page website. And I want google analytics to track when someone enteres another "page" of my single-page website by scrolling. The page is not loaded but the domain changes like .../#section1, .../#section2
www.cima-ecuador.com
I'm using the analytics.js... The threads already posted didn't really help me.
header:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','http://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-12543942-1', 'cima-ecuador.com');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</script>
my body-sections are like
<div class="section" id="section0">
</div>
<div class="section" id="section1">
</div>