Ticket #382 (closed maintenance: fixed)
Measurement and tracking requirements for TN and PSE
Reported by: | ed | Owned by: | chris |
---|---|---|---|
Priority: | major | Milestone: | Maintenance |
Component: | Piwik | Keywords: | |
Cc: | jim, chris, ed | Estimated Number of Hours: | 0.0 |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 7.05 |
Description
to list the measurement and tracking requirements for TN and PSE so that we can assess piwik vs google and decide which way to go.
Change History
comment:2 Changed 5 years ago by ed
work started on wiki here:
https://wiki.transitionnetwork.org/Sharing_Engine/Measurement_requirements
Laura - please add TN.org requirements
Ed to keep working on PSE requirements
Need good outline by PSE meet on 10/01/12
comment:3 follow-up: ↓ 4 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.1
- Total Hours changed from 0.0 to 0.1
Following the work on the widget structure, it's clear we're measuring 2 related parts:
- the 'view widget'... This will be a view or panels page with responsive theme within an iFrame on a participating website. Piwik/GA will therefore already be present in the iFrame.
- the 'entry widget'... Will be an iFrame again, but opened in a bigger popup div... Same as above, will already be tracked by Piwik because Drupal will generate that page.
So the mechanisms are in place, the key thing is ensure we can 'partition' Piwik data from the PSE... I think this is covered too, as the planned URL structure will states all PSE-related pages always start with with '/pse'.
comment:4 in reply to: ↑ 3 Changed 5 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.2
- Priority changed from major to critical
- Total Hours changed from 0.1 to 0.3
Replying to jim:
the planned URL structure will states all PSE-related pages always start with with '/pse'.
Is the above still valid?
I have updated the dev site via https://dev.transitionnetwork.org/admin/settings/piwik setting it to use the dev version of pwiki at https://piwik.transitionnetwork.org/ so we can do some testing.
Do we want role specific tracking?
https://dev.transitionnetwork.org/admin/settings/piwik#edit-piwik-visibility-roles-0-wrapper
Are we going to allow opt-outs?
https://dev.transitionnetwork.org/admin/settings/piwik#edit-piwik-custom-0-wrapper
Jim - can the PSE code be installed on the dev server so I can do some testing?
comment:5 Changed 5 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.5
- Priority changed from critical to blocker
- Total Hours changed from 0.3 to 0.8
Jim, I have been thinking about this quite a lot and I think the way to go with this is to set up a couple of example transition test sites and related accounts on the dev server and to put up some test widgets, I'm happy to do as much of this as I can to reduce the work for you.
Can you point me in the right direction for these things:
- Updating the dev server with the latest PSE code and database updates (if any)
- Permissions for new test accounts that can be used with test widgets
- Code / URL's for widgets for including in test sites
I'm also happy to help with documenting how to install a widget.
Thanks.
comment:6 Changed 4 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.1
- Total Hours changed from 0.8 to 0.9
Hi there, thought I'd add to this since a few things have changed:
- yep, all widget URLs start with /pse
- We don't need transition test sites, any site will do. We just need a functioning DEV box. I'll put (have already) it widget on my site, and can add it to a few others if needs be. I'm sure Laura can too.
- Re DEV: It'd be good to have its database and files pulled from LIVE ASAP, so we have a proper mirror. I've merged LIVE into DEV as far as the Git repo is concerend, so a git pull origin development in the site root will bring things up to speed with LIVE (and make the database work properly) and include all the widgety bits.
- There's basic information on how to install the widget on the 'get the widget' page that participating webmasters have access to. Would be good to add additional instructions to a page on the site that we can link to from the 'get' page.
comment:7 Changed 4 years ago by ed
- Priority changed from blocker to critical
moving to critical as not a blocker, but still needs action
comment:8 Changed 4 years ago by chris
- Cc ed added
- Add Hours to Ticket changed from 0.0 to 0.1
- Total Hours changed from 0.9 to 1.0
I think that perhaps we need to have a discussion on tracking users and
the ethics of this and how we want to approach it.
I really don't agree with the latest update from Piwik, see below, I
think Piwik should give us the options here:
I think we should respect the DNT header even if browsers start
setting it by default.
We still are using two webbugs on the network site and widget, Piwik and GA.
Posted: 08 Nov 2012 11:28 PM PST
http://piwik.org/blog/2012/11/piwik-1-9-2/
starting from Piwik 1.9.2, Do Not Track browser setting will be ignored for
IE 10 browsers. Because all IE10 browsers have DNT enabled, we cannot
afford not to record in Piwik all IE10. So we decided to ignore the DNT
setting for all IE10 users.
comment:9 Changed 4 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.1
- Total Hours changed from 1.0 to 1.1
There is now a ticket for the IE10 / DoNotTrack issue on the Piwik trac site.
comment:10 Changed 4 years ago by chris
See also wiki:PiwikServer and ticket:371#comment:26
comment:11 Changed 4 years ago by ed
catching up here - also reading #431, so leaving this comment:
as long as we can see this I'm happy bunny:
- how many widgets are in action
- traffic generated by widdgets
- number of projects generated from widgets
comment:12 Changed 3 years ago by chris
This ticket needs some work, as a munimum documenting how to get the widget stats, which might perhaps use the new segment editor, which is in the latest version, ticket:556, see:
comment:13 follow-up: ↓ 14 Changed 3 years ago by chris
- Cc laura removed
- Add Hours to Ticket changed from 0.0 to 1.7
- Status changed from new to accepted
- Total Hours changed from 1.1 to 2.8
The "segment editor" in Piwik is fairly awesome, this is how I have used it so far:
- Find the active PSE URLs by going to Actions > Pages > PSE > View Sidebar in Piwik.
- For each URL like https://www.transitionnetwork.org/pse/view/sidebar/16928/6290 (and which has had significant traffic in the last year) use the "Add a new segment" from the pull down menu and create the segment using:
- Name: take this from the user ID in the URL, eg the username for https://www.transitionnetwork.org/pse/view/sidebar/16928/6290 can be found via https://www.transitionnetwork.org/user/16928, eg "PSE Test Initiative"
- Add the condition: Actions > Page URL > Contains > /pse/
- Add the condition: Actions > Page URL > Contains > /16928/
- Edit: This segment is visible to: all users (it defaults to "me")
- Edit: Segmented reports are pre-processed (faster, requires archive.php cron)
I have also set up a Segment report for all URLs containing /pse/ and this might be more useful than the PSE / User segment reports as you can get reports like Actions > Page Titles to see a good overview of PSE activity.
I'm also a bit concerned that segmenting it by the user account that set up the widget isn't the best way to do it? Jim, Ed, thoughts?
PS I have removed Laura from this ticket and accepted it.
comment:14 in reply to: ↑ 13 ; follow-up: ↓ 15 Changed 3 years ago by jim
Replying to chris:
I'm also a bit concerned that segmenting it by the user account that set up the widget isn't the best way to do it? Jim, Ed, thoughts?
I'd argue the second number in the URL is just as/more important -- that's the node ID of the imitative. E.g. given "https://www.transitionnetwork.org/pse/view/sidebar/16928/6290":
- 1st = http://www.transitionnetwork.org/user/16928 is our webmaster who owns the widget.
- 2nd = http://www.transitionnetwork.org/node/6290 is the Initiative node it's for.
So really this is one for Ed: Do we want to segment by both of these, one, or neither?
comment:15 in reply to: ↑ 14 Changed 3 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 2.8 to 3.05
Replying to jim:
I'd argue the second number in the URL is just as/more important
I did wonder about that but was concerned that it might not be able to be done by URL, when matching the URL we have:
- Is
- Is not
- Contains
- Does not contain
Consider this URL:
If we try to match it with "Contains /71" then we are also going to match any user who has an ID that starts with 71. The ones I have set up use matches like "Contains /7292/".
If we do need stats based on the sites hosting the widget we might be best of using the HTTP Referer field, eg Referrer Is http://transition.example.org/ Or Referrer Is http://www.transition.example.org/
But perhaps the PSE segment is enough as it is and it would be better to delete the user PSE segnemnt?
comment:16 Changed 3 years ago by ed
Sorry for absence, book PR mayhem. Err. I would like to attend to this in mid July if possible? Perhaps starting with: 1. Jim time: 10/7: current options and future needs for international initiative widget 2. Chris time: w/c 15/7: deeper understanding of piwik and follow up having jim's input ? On 7 Jun 2013, at 10:58, Transiton Technology Trac <trac@tech.transitionnetwork.org> wrote: > #382: Measurement and tracking requirements for TN and PSE > -----------------------------------+-------------------------------------- > Reporter: ed | Owner: chris > Type: enhancement | Status: accepted > Priority: critical | Milestone: PSE > Component: Piwik | Resolution: > Keywords: | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0.25 | Billable?: 1 > Total Hours: 2.8 | > -----------------------------------+-------------------------------------- > Changes (by chris): > > * hours: 0.0 => 0.25 > * totalhours: 2.8 => 3.05 > > > Comment: > > Replying to [comment:14 jim]: >> >> I'd argue the second number in the URL is just as/more important > > I did wonder about that but was concerned that it might not be able to be > done by URL, when matching the URL we have: > > * Is > * Is not > * Contains > * Does not contain > > Consider this URL: > > * http://www.transitionnetwork.org/pse/view/sidebar/7292/71 > > If we try to match it with "Contains {{{/71}}}" then we are also going to > match any user who has an ID that starts with 71. The ones I have set up > use matches like "Contains {{{/7292/}}}". > > If we do need stats based on the sites hosting the widget we might be best > of using the HTTP Referer field, eg Referrer Is > http://transition.example.org/ Or Referrer Is > http://www.transition.example.org/ > > But perhaps the PSE segment is enough as it is and it would be better to > delete the user PSE segnemnt? > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/382#comment:15> > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. ~~~~ Ed Mitchell: Transition Network Web manager web: http://transitionnetwork.org project blog: http://transitionnetwork.org/blogs/ed-mitchell mobile: +44 (0)7807 141 828 office hours: Mon, Tues, Wed, Thurs company no. 6135675 charity no. 1128675 Subscribe to Transition news: http://tinyurl.com/transitionregister ~~~~
comment:17 Changed 3 years ago by ed
- Priority changed from critical to major
- Type changed from enhancement to maintenance
comment:19 Changed 3 years ago by chris
- Add Hours to Ticket changed from 0.0 to 4.0
- Total Hours changed from 3.05 to 7.05
On Tuesday 16th I spent the day with Ed going though Piwik stats and also looking at the server load issue and also some other items, I'm adding this comment here to record 4 hours of time spent.
comment:20 Changed 3 years ago by chris
Think this is OK to close now, new tickets can be opened for new web stat issues.
comment:21 Changed 3 years ago by chris
- Status changed from accepted to closed
- Resolution set to fixed
Piwik might be needed, but I'd be surprised if GA + Drupal + server logs couldn't do it... Depends on outcome to #371, at least temporarily.