Comments (8)
I totally understand that only a percentage of Woo users will likely have Jetpack installed so it restricts how many interactions we can track, but in-lieu of rolling our own tracks tooling I figured having a sample of usage would be better than none.
Other consideration here is we can collect usage data via tracks by using Jetpack, and are okay doing so based upon the T.O.S. that Jetpack users agree to, so our feature plugin here can steer a bit clear of that and just use the tooling that is in place already.
From a data-science standpoint, do you think the number of Woo sites with Jetpack connected is statistically large enough to base usage trends from @greenafrican ?
from woocommerce-admin.
The JP tracks PHP class prepends all event names with jetpack
- https://github.com/Automattic/jetpack/blob/master/class.jetpack-tracks.php#L83
The admin JS client doesn't prepend jetpack
but isn't accessible to us as it is part of their build -https://github.com/Automattic/jetpack/blob/master/_inc/client/lib/analytics/index.js#L121
from woocommerce-admin.
The good news is that w.js
and s.js
are both available so we can use those :)
from woocommerce-admin.
not all users of the feature plugin will have Jetpack installed/activated
If we're going to support no-Jetpack users then we shouldn't create any dependencies on Jetpack code.
We'll need to decide on how we identify sites (as there may not be a wp.com blog_id
) and users. We're using ${blog_id}:${user_id}
for logged in users in the WooCommerce Analytics module in Jetpack, which wouldn't work without a blog_id
. WC Tracker identifies unconnected sites via their URL.
from woocommerce-admin.
do you think the number of Woo sites with Jetpack connected is statistically large enough to base usage trends
Yeah, the trends from Jetpack connected sites are very representative of the population.
the ±300k Woo+Jetpack connected sites may offer a large enough statistical sample of all stores (statistically I think you only need around 20k samples to evaluate a population of ±2M with a 99% confidence level and 1 point confidence interval)? (technically, this only applies to random sampling and there may not be anything 'random' about store owners using or not using Jetpack; however, we do have nearly 10x the sample size, which is significant)
from woocommerce-admin.
/cc @allendav if you wanted to chime in with any comments you had from our hangout today.
One other concern I have with adding new tracks/tracker specific logic here is it might be cause some users to not test out the feature plugin potentially.
from woocommerce-admin.
Yeah I was a bit worried about that, but I suppose we could still get useful information even with using the jetpack namespace, alternatively we submit a PR there that makes the prefix configurable.
from woocommerce-admin.
Closing this out since #452 shows the tracks wrapper working end-to-end 🎉
from woocommerce-admin.
Related Issues (20)
- [GlobalStep - 3.3.0-beta 1] "Setup additional payment providers" is shown under "Things to do next" without setting up WC Pay on "Woocommerce > Home" page. HOT 2
- Untranslated dates in New Sales Record notice HOT 1
- Fix some race conditions in WCA Install
- Run run_on_woocommerce_admin_updated as a scheduled action
- Update all linting, testing, `@types/*` DevDependencies
- Woo Navigation: Home item displayed under extensions
- Make packages work with pnpm nx install {package}
- `WC_Tests_API_Reports_Import::test_cancel_import` failed with woocommerce 6.3.0
- Industry tab in setup wizard not clickable after going back
- PHP Fatal error when running `wc_admin_daily` job
- Change image references to woocommerce
- PHP Notice when the `Purchase` task is visible
- Core `API tests` failing
- `ERROR: unable to select packages` in `pnpm run test:php`
- Dependency Dashboard
- Additional payments task is shown when set up payments is displayed in main task list HOT 1
- create-wc-extension ES Module Errors HOT 1
- Replace the `date_created` column name with a class property in the analytics DataStore HOT 1
- With WooCommerce Payments multicurrency functionality, numbers in the Revenue tab can be incorrect HOT 1
- Dependency on unsupported version of pnpm HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woocommerce-admin.