Giter Site home page Giter Site logo

Comments (8)

timmyc avatar timmyc commented on June 23, 2024 1

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.

greenafrican avatar greenafrican commented on June 23, 2024 1

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.

greenafrican avatar greenafrican commented on June 23, 2024 1

The good news is that w.js and s.js are both available so we can use those :)

from woocommerce-admin.

greenafrican avatar greenafrican commented on June 23, 2024

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.

greenafrican avatar greenafrican commented on June 23, 2024

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.

timmyc avatar timmyc commented on June 23, 2024

/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.

timmyc avatar timmyc commented on June 23, 2024

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.

timmyc avatar timmyc commented on June 23, 2024

Closing this out since #452 shows the tracks wrapper working end-to-end 🎉

from woocommerce-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.