Support » Everything else WordPress » Help in reading registered account analytics data

  • Peace,
    When I have registered users logged into the site, is there a way to measure analytically their acts within the site?
    Can I measure the length of time spent on a page?
    understand if the user downloaded available content and which one?

Viewing 1 replies (of 1 total)
  • Hi @liormsg,

    Do you mean with Google Analytics (GA4)? If so, yes, there is a way to track logged-in WordPress users.

    If you don’t want to use a plugin, you can write your own code to do this. It’s pretty well documented (Google GA4 user ID).

    Here’s a code example you can use as a starter template.

    I don’t see a built-in metric for “time spent on a page” in GA4. In Universal Analytics (predecessor), there was an average duration metric. You can always write custom code calculate durations and send the stats as events to GA4.

    File download events are tracked in GA4 automatically if you enable enhanced metrics. Learn more here.

    I hope that helps.


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.