siderea: (Default)
Siderea ([personal profile] siderea) wrote in [site community profile] dw_suggestions2017-04-10 09:09 pm

Page Statistics 2: Electric Boogaloo

Title:
Page Statistics 2: Electric Boogaloo

Area:
entries

Summary:
Native journal stats, like LJ used to do, only not horribly invasive like LJ. How many, not whom. Also integrated into the DW user interface.

Description:
Way back when, somebody else suggested, in a suggestion titled Page stats (http://dw-suggestions.dreamwidth.org/570175.html), "something like LiveJournal's My Guests feature", and the commenters here promptly set the suggestion on fire and then drowned it. The My Guests feature of the LJ Stats page makes *reading* journals less private, and gave many DW Suggestion commenters the heebee-geebees.

Unfortunately, that was the end of the proposal to implement any of the LJ Stats Page here. Unfortunately, because the LJ Stats Page also had lots of other useful analytics information, that was in aggregate and didn't violate anybody's privacy. For instance, from my LJ Stats page I just discovered that my LJ typically gets about 35 daily hits to my journal's RSS feed – information that would otherwise be utterly invisible to me. Since in the past I've wondered if anybody cares about RSS, that is usefully informative to me. For another instance, I am able to see how many visitors – not, mind you, LJ users, just unique visitors – came to a given post. If I had the same stats here on DW, I would be able to see how my efforts to move my readers from LJ to here were working.

When last this was proposed, one of the questions a commenter reasonably asked was "How is it different from the Google stats feature available for paid DW accounts?"

1) It doesn't involve Google for one thing. I have two big problems with Google Analytics:

1a) It is, to me, a much bigger privacy violation than My Guests ever was. My Guests was optional: if you ever wanted not to be counted, you turned it off and you never appeared in anybody's My Guest report. I, as a reader, have no way to opt out of GA – except to use a script blocker to clobber GA, which I in fact do, because....

1b) Google Analytics' degrades site performance. I have to block the GA scripts at my browser, because otherwise, from time to time, page loads start hanging on trying to communicate with google-analytics.com. I don't want GA on my journal both because I don't want to inflict on my readers a privacy compromise I don't want inflicted on myself, and I don't want to inflict on either me or my readers the page load times GA periodically (or is it always? as I said, I block it) causes.

2) As per 1b above, GA is client-side and third party. I don't want this sort of functionality coming through *any* third-party javascript. It will always tax the user's browser and internet connection, and expose information to a third-party. I have no interest in trusting any third-party with, for example, statistics *about my locked posts* the existence of which should be a private.

3) Not having a GA account I can't say what it includes in its reports, but knowing what I do about its implementation, I'm guessing it has no way to tell you *the number of times your post appeared on other parts of the site*. AFAIK, GA only knows – only *can* know – about the concept of "webpages". LJ's Stats would give you *two* numbers: the number of unique visitors to a post's page *and* the numbers of unique viewers of your post _in all the other places it appears on LJ_, such as on friends pages, your own Recent Entires pages, your Calendar pages, etc. LJ Stats leverages LJ's knowledge of its own info-architecture to come up with stats that GA can't.

Finally, it would be great if the interface for such a thing were integrated into the general DW journal interface, such that journal owners would have a contextual stats icon/link (visible only to them) wherever appropriate, that takes them to the corresponding stats page. For instance, such a link would appear on posts, and would take one to the stats page for that specific post. One's Calendar would have it on the day, month, and year views, and take one to one's corresponding day, month, and year stats pages. And that's not something that GA or any third-party javascript-based analytics implementation could manage.

More Details

When last this came around, it became clear most commenters didn't know what LJ did provide. Here's an overview:

There are four top level categories to the Stats page that I propose are of interest to DW: Journal, Comments, Entries, and RSS Readers.

The Journal page shows stats for your whole journal, breaking it out by number of total visits, total unique vistors, and how many of those unique visitors were logged-in LJ users. It allows you to view this information by either your journal itself, or your journal plus all friends pages on which your posts appear, and it allows you to drill down in either of these views to any year (shows bar chart by month), month (shows bar chart by day), or day (shows bar chart by hour). This last allows one to get a sense of on what days and at what times of the day one's readers are seeing one's journal.

The Comments page shows the stats on numbers of comments and numbers of commenters. Like the Journal page, you can drill down by time span.

The Entries page shows the stats for a given entry (post). It defaults to the most recent entry in your journal, has a list at the bottom of your ten most recent posts with links to their stat pages, for user convenience, and a text box in which you can put the URL to any of your entries to get the stats for it (not the most convenient of user interfaces). For a given entry, it shows Visits, viewers ("Who Viewed"), and Comments. Visits breaks out by Entry Views, All Visitors and Livejournal Visitors. "Entry Views" is the other sense of "entry": when that page is the page-of-entry of a reader to LJ – what happens when somebody follows a link somewhere else, like Twitter or Tumblr or FB or an RSS reader or an email, to a post of yours. That gives one a sense of how much traffic is being driven to a post by virality elsewhere. Visits also allows drill down by year/month/day, same as above. "Who Viewed" gives a break down between the number of all viewers of the post vs. the number of the subset that are Friends of you - it shows you whether it's just Friends reading your posts or other people. Also allows drill down by year/month/day. "Comments" shows comments vs number of unique commenters for the post, with year/month/day drill down.

The RSS Readers page shows a chart of number of requests to one's RSS feed, with drill down by year/month/day.

Poll #18206 Page Statistics 2: Electric Boogaloo
Open to: Registered Users, detailed results viewable to: All, participants: 61


This suggestion:

View Answers

Should be implemented as-is.
42 (68.9%)

Should be implemented with changes. (please comment)
5 (8.2%)

Shouldn't be implemented.
1 (1.6%)

(I have no opinion)
13 (21.3%)

(Other: please comment)
0 (0.0%)

[personal profile] casimirian 2017-04-16 04:21 am (UTC)(link)
I feel like I should respond since I've had a similar conversation via GitHub. https://github.com/dreamwidth/dw-free/issues/1800

I'm sure the owners and staff can change their mind if they're convinced, but there is a reason GA is used right now.

I wish you luck!
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2017-04-16 04:34 am (UTC)(link)
Different use cases! [personal profile] siderea is asking for an on-DW feature that will tell her information about how many people are reading entries in her journal, and mentions Google Analytics specifically because we do let people add their own Analytics account.

DW uses Google Analytics sitewide to gather browser/OS/connection speed data in aggregate so we know which browsers we need to support and which ones we can drop support for, and we don't add the Analytics script on any individual journals (individual entry pages or the journal as a whole). People can add their own Analytics code to their journal if they want, though, which is what [personal profile] siderea is talking about -- having a DW-native version of stats would provide more useful hit-count data than Analytics could to the journal owner.

Even if we did/do add any kind of DW-native stats system, we'll continue using Analytics (on non-journal pages), because it's an easy way to gather browser/OS/connection speed data without having to build our own and reinvent the wheel.

EDIT: I wandered over to check the DW Analytics results, and some interesting stats:

* 70% of people visit DW on a desktop/laptop; only 30% visit on phone/tablet.

* Chrome is the most popular browser, at 55% of our traffic. Firefox is second at 18%. Safari is third at 17%. Internet Explorer is a very distant fourth -- at 2%!

* 76% of our traffic is returning visitors; 23% is new visitors.

Etc! That kind of information helps us figure out things like "ugh, can we stop supporting older versions of IE yet".
Edited 2017-04-16 04:43 (UTC)

[personal profile] casimirian 2017-04-16 02:38 pm (UTC)(link)
Thank you for clarifying siderea's opinion and how it's different from the conversation in the past.

I posted the link only because I wanted to share what was shared with me earlier, in case someone wants to get rid of GA altogether. I did not mean to suggest siderea's suggestion is no different from mine.
arethinn: glowing green spiral (Default)

[personal profile] arethinn 2017-04-17 01:43 am (UTC)(link)
Just out of curiosity, is Pale Moon in the browser stats at all?
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2017-04-17 06:57 am (UTC)(link)

If it is, it's under a different name! Over the last month, I don't see it as a top-level browser ID or as a subset of Firefox.

[personal profile] swaldman 2017-04-16 07:03 am (UTC)(link)
I support giving journal owners whatever information is (a) useful, (b) non-invasive to others. (there's a (c) there of "feasible to collect & store", but that's for Rah et al to judge).

I disagree with having an "opt out of having my stats collected" option - if it's invasive enough that that's warranted, we shouldn't be collecting it. I'm not sure if that was actually part of the suggestion, or just part of the "what LJ does" explanation ☺️
brainwane: My smiling face, including a small gold bindi (Default)

[personal profile] brainwane 2017-04-16 08:47 am (UTC)(link)
Thank you for this clear explanation and fine suggestion!

My one suggested change (and I may have missed it if you already included it in your proposal): make it possible for the journal owner to choose not to have a link to that statistics dashboard (perhaps this is something that people could do for themselves with custom styles for their journals). My reasoning is similar to the reasoning for how Inbox notification settings make it possible to avoid getting notified when someone removes you from their circle; sometimes a journal owner wants to make it harder for themselves to notice the moments when they are not very popular.
juniperphoenix: Fire in the shape of a bird (Default)

[personal profile] juniperphoenix 2017-04-16 10:14 pm (UTC)(link)
+1
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)

[personal profile] ninetydegrees 2017-04-16 03:13 pm (UTC)(link)
if you ever wanted not to be counted, you turned it off and you never appeared in anybody's My Guest report.

As long as this part is implemented, why not?
turlough: large orange flowers in lush green grass (Default)

[personal profile] turlough 2017-04-16 05:52 pm (UTC)(link)
+1
matrixmann: (Default)

[personal profile] matrixmann 2018-12-04 10:25 pm (UTC)(link)
It would be welcome if such a feature was available to all users as it tends to feel like pushing on someone or spamming round the site if leaving behind a comment every time just to say you were there.

I suppose this would be useful also for non-native speakers of English (or Russian) as it's rather hairy to get into a conversation with another person from your own language sphere - just because, outside of commenting or writing PMs, there's no way to let them know you were visiting.
And for the most part, the best possibility to find any people from your own country at all is through the Directory Search via searching by country... It's less likely you'll do so by accident when being active in a community or commenting to random journals.

For communities, I suppose, this might also be useful, especially for small ones who aim for a specific audience, or which aren't part of any bigger fandom community (some people tend to forget such exist too).

Oh, and @[personal profile] siderea - this is Google Analytics making the site being slow randomly?!
I kind of tried my way already through to find out what does that, and at least I found out it's no Firefox plugins going partially broken from time to time! But neither does browser change alter anything on that, it originates in the page loading at all...
If it's just a certain part of it, which even can't be found on all subpages (journals, profiles, own Inbox), then this would make some sense in not being a permanent issue.