• Resolved jfantasybooks

    (@jfantasybooks)


    Hello!

    Is there a way to track site usage (# of views) of a site that uses One Page Navigation? I would prefer to see if they are looking at certain content.

    I know this seems difficult, but I would highly appreciate it if you looked into this. More and more sites are using one page navigation because its faster, easier to use, just looks nice on some pages.

    Thank You.

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Jetpack’s Stats tracking code is injected in each page’s footer, thanks to the wp_footer action:
    https://codex.ww.wp.xz.cn/Function_Reference/wp_footer

    When building the tracking code, we look for a post ID matching the content loaded on the
    page, and the stats are then recorded for that post ID.

    For this to work with your setup, you’d have to make sure that the content loaded in wp_footer is reloaded whenever a new page is loaded.

    I hope this helps.

    Thread Starter jfantasybooks

    (@jfantasybooks)

    Thank You for the information.

    I’ll see what I can do from here.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Jetpack Site Stats for One Page Navigation’ is closed to new replies.