If you have a one page site, you'll be able, with this little javascript code, to track which sections of your site your user has gone to. Fully compliant with Google Analytics, you'll be able to see these sections as "pageviews" in analytics, and then see, for example, how long they stayed on this or that section.