Repository navigation
Releases
Releases · 99ways-io/99trace-woocommerce-posthog
99Trace 1.0.0
First public release. 99Trace was piloted on live shops under the name 99Hog for WooCommerce (0.2 to 0.6); this release renames it and prepares it for the WordPress.org plugin directory.
Added
- Translation-ready: every admin string uses the
99trace-posthog-for-woocommercetext domain;languages/99trace-posthog-for-woocommerce.potholds the template. - A suggested privacy policy text under Settings → Privacy → Policy Guide, written from the current settings (consent, browser module, IP location, customer details, PostHog region).
uninstall.php: deleting the plugin removes its settings, temporary data and scheduled tasks. Order data (the identity saved at checkout and each event's delivery state) stays with the orders, so a reinstall never sends an order twice.- While 99Hog for WooCommerce is still active, 99Trace waits and explains how to switch, so the two never send the same events.
W99_TRACE_MODEinwp-config.phpforces the mode (off,test,on); 99Hog'sW99_PHWC_MODEis still read.- Old 99Hog settings and status bookmarks redirect to the 99Trace tabs.
Changed
- Name 99Trace; plugin folder, main file, text domain and WordPress.org slug
99trace-posthog-for-woocommerce; PHP namespaceW99\Trace; constantsW99_TRACE_*. - Server events carry
$lib: 99trace(was99hog-woocommerce) and the user agent99trace/<version>. w99_phwc_posthog_js_configcan add posthog-js options but no longer replace the ones 99Trace depends on (before_send,bootstrap, persistence, consent and the others listed under Advanced), as the settings field already did.- Unchanged on purpose: stored names (
w99_phwc_*options, order meta, scheduled tasks,ph_wc_*cookies), the99hog:v1:event-ID scheme and the99hog:order:prefix of anonymous orders, so an order sent before the rename and retried or refunded after it keeps its IDs.
Fixed
- The coverage report missed orders that a gateway marks paid without a payment date, such as cash on delivery. 99Trace sent their purchases; the report now counts them too.