• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add-on Awesome User Engagement Stats

Deepmartini

Well-known member
#1
A way to see how many times a user has logged in and when. Also what threads/pages they've accessed and when. Track what people search for in the search box. This is useful to see the level of engagement on your site and what's popular or what people are looking for. It provides real insight!
 

Deepmartini

Well-known member
#3
I would move this task to google analytics, piwik or something similar..:D
Yes but it can't record on an individual user level. If you run a paid forum you want to see how active each member is. Especially if they do a credit card chargeback and claim they never used site.
 

xf_phantom

Well-known member
#4
Yes but it can't record on an individual user level. If you run a paid forum you want to see how active each member is. Especially if they do a credit card chargeback and claim they never used site.
You can't? http://piwik.org/docs/tracking-api/reference/

you can attach additional data which will be stored http://piwik.org/docs/custom-variables/ in the piwik database

e.g. actionname "viewing_thread", "login", "viewing_memberprofile"
and another field "action_id where the threadid, memberid, etc... will be saved


http://piwik.org/blog/2012/10/custom-variable-case-study-divezone-net/


It's just an idea! Nobody says that it can't be done with xf;)
 

xf_phantom

Well-known member
#5
I prefer piwik for this, because i don't need to store any additional data for such tasks.
All the needed data where stored already in the piwik database


Take also a look at http://piwik.org/docs/tracking-api/reference/
  • Optional visitor info — we recommend to set these values if they are available and relevant to your use case.
    • urlref — The full Referrer URL. This is used to populate the “Referrers” report (Websites, Search engines and keywords)
    • _cvar — Visit scope custom variables. This is a string JSON encoded of the custom variable array (see below for an example value).
    • _idvc — The current count of visits for this visitor. To set this value correctly, it would be required to store the value for each visitor in your application (using Sessions or persisting in your DB). Then you would manually increment by one on each new visit or “session”, depending on how you choose to defined a visit. This value is used to populate the report “Visitors > Engagement > Visits by visit number”.
    • _viewts — The UNIX timestamp of the time of the previous visit by this visitor. This parameter is used to populate the report “Visitors > Engagement > Visits by days since last visit”
    • _idts — The UNIX timestamp of the time of the first visit by this visitor. This could be set to the date where the user first started using your sofware/app, or when the user created his account. This parameter is used to populate the report “Goals > Days to Conversion”
    • _rcn — The Campaign name (see Tracking Campaigns). Used to populate report Referrers > Campaigns. Note: _rcn value will only be used for the first pageview of a given visitor.
    • _rck — The Campaign Keyword (see Tracking Campaigns). Used to populate report Referrers > Campaigns (clicking on a campaign loads all keywords for this campaign). Note: _rck value will only be used for the first pageview of a given visitor.
    • res — The resolution of the device, eg 1280×1024
    • h — The current hour – local time
    • m — The current minute – local time
    • s — The current second – local time
    • ua — This value is the User-Agent HTTP header string is used by Piwik to detect Operating System and browser used.
      Note: Alternatively you can set the User-Agent HTTP header instead of using the &ua= parameter.
    • lang — This value is the Accept-Language HTTP header, which lets Piwik detect user country (based on language) if GeoIP is not enabled.
      Note: Alternatively you can set the Accept-Language HTTP header instead of using the &lang= parameter.
  • Optional action/event info — we recommend to set these values if they are available and relevant to your use case.
    • cvar — Page scope custom variables.This is a string JSON encoded of the custom variable array (see below for an example value)
    • link — An external URL the user has opened. We recommend to also set the ‘url’ parameter to this same value.
    • download — URL the user has downloaded. We recommend to also set the ‘url’ parameter to this same value.
    • search — The Site Search keyword. When specified, the request will not be tracked as normal pageview but will instead be tracked as a “Site Search” request.
      • search_cat -- when ‘search’ is specified, you can optionally specify a search category
      • search_count – when ‘search’ is specified, we also recommend to set the search_count to the number of search results displayed in the page. Piwik will then specifically report “No Result Search Keyword”, ie. keywords that were tracked with &search_count=0
    • idgoal — The request will trigger a conversion for the specified Goal
    • revenue — Defines a monetary revenue for the current goal conversion. Only used if “idgoal” is specified in the request.
    • gt_ms — Average generation time, in milliseconds. This value is used to process the “Avg. generation time” column, in the Page URL and Page Title reports, as well as a site wide running average of the speed of all pageviews. Note: when using the Javascript tracker this value is set to (Time for server to generate response + Time for client to download response).
 
Last edited:

Deepmartini

Well-known member
#6
You can't? http://piwik.org/docs/tracking-api/reference/

you can attach additional data which will be stored http://piwik.org/docs/custom-variables/ in the piwik database

e.g. actionname "viewing_thread", "login", "viewing_memberprofile"
and another field "action_id where the threadid, memberid, etc... will be saved


http://piwik.org/blog/2012/10/custom-variable-case-study-divezone-net/


It's just an idea! Nobody says that it can't be done with xf;)

Sounds interesting but somebody has to build the connection to Piwik. If there were something already built inside Xenforo it would be better. You could also have everything in one system and not have to manually look up each member in two places or rely on an outside third party system that could break, change, etc. Maybe there can be an addon module in xenforo that will pull in Piwik data.
 

xf_phantom

Well-known member
#7
Sounds interesting but somebody has to build the connection to Piwik. If there were something already built inside Xenforo it would be better. You could also have everything in one system and not have to manually look up each member in two places or rely on an outside third party system that could break, change, etc. Maybe there can be an addon module in xenforo that will pull in Piwik data.
http://xenforo.com/community/resources/h-piwikintegration.183/
 

xf_phantom

Well-known member
#9
Piwik is really great;)

The ONLY downside is that YOU'RE responsible to keep it up2date and that you have to spend some time with customizations, if you really want to get the most out of the software!
But isn't this the same reason, why we've chosen to use xenforo and not one of the many free forum hosters like proboards, forumotion, yuku and all the other alternatives:D