Commit Graph

130 Commits

Author SHA1 Message Date
Jeff Stieler fe841ecc0b Add gross revenue to Tracks base data. 2019-02-26 16:31:26 +13:00
Jeff Stieler 5c414507f9
Add Tracks events for product import start and finish. (#22787)
* Add Tracks events for product import start and finish.

* Move tracks event firing code into classes grouped by category/kind.

* Fix PHPCS warnings/errors with product and importer event tracking.

* Include products count in base Tracks data. (#22791)

* Add extensions page view tracking. (#22803)

* Add extensions page view tracking.

* Add tracking for extension searches. (#22804)
2019-02-21 15:45:43 -07:00
JeroenSormani f4775ccd90 Use shipping method instead of property through magic + doc return statements 2019-01-04 12:41:38 +00:00
Gerhard Potgieter c572327ce9 Check if helper is connected to woocommerce.com 2018-09-10 15:47:46 +02:00
Gerhard Potgieter 1f2b028b0b Category counts 2018-09-10 15:35:44 +02:00
Gerhard Potgieter 58a2ae494d Review counts 2018-09-10 15:30:17 +02:00
Mike Jolley 0bfd675238 Wrapper function to get full mysql version string with mariadb handling 2018-05-25 11:15:30 +01:00
Gerhard Potgieter e6e03858a0 Add call to tracking API when opting out to comply with GDPR erasure. 2018-05-04 09:10:18 +02:00
Gerhard Potgieter 0d84bcc3eb Tweaks as per review 2018-04-20 15:20:43 +02:00
Gerhard Potgieter 03e60f105e Remove unused method 2018-04-20 12:38:25 +02:00
Gerhard Potgieter 3f785d8964 Remove unused variables and merge correct ones. 2018-04-18 16:10:37 +02:00
Gerhard Potgieter a15687470d Move fist and last date into one query 2018-04-18 16:07:54 +02:00
Gerhard Potgieter a7b4bcb31a Restore order counts 2018-04-18 09:04:34 +02:00
Gerhard Potgieter db57a67fde Use sql query to improve speed and only do gross 2018-04-18 08:59:34 +02:00
Gerhard Potgieter df5bfc5b6a Private not public 2018-04-13 14:18:39 +02:00
Gerhard Potgieter 8125797aad Remove counts variable from merge as it is now part of main method. 2018-04-11 10:35:43 +02:00
Gerhard Potgieter fa2f0add45 Make order status counts part of the main order method 2018-04-11 10:32:24 +02:00
Gerhard Potgieter 38a87b0ad2 Gross per gateway 2018-04-11 09:56:39 +02:00
Gerhard Potgieter 3e2f20adf6 Fix net and gross calculations 2018-04-11 08:48:32 +02:00
Gerhard Potgieter 25971b88b9 Format datetime 2018-04-11 08:41:57 +02:00
Gerhard Potgieter 19b7052a12 PHPCS fixes 2018-04-11 08:26:22 +02:00
Gerhard Potgieter af1de29536 Fix up main orders method 2018-04-11 08:14:20 +02:00
Gerhard Potgieter eb1dcff545 Convert to one order order loop 2018-04-11 08:12:55 +02:00
Gerhard Potgieter 59984654ec Add discount totals 2018-04-10 14:27:42 +02:00
Gerhard Potgieter 9e6fe4cad1 Add net total 2018-04-10 14:22:21 +02:00
Gerhard Potgieter 601c9910a9 Add first order date 2018-04-10 14:17:17 +02:00
Gerhard Potgieter d63b0018d8 Add tax total 2018-04-10 14:10:21 +02:00
Gerhard Potgieter 4a7ee19d18 Add shipping 2018-04-10 14:01:22 +02:00
Gerhard Potgieter 72d078452c Add last order and gross functions 2018-04-09 14:54:50 +02:00
Mike Jolley 6701917e5a Remove need for wc_get_core_supported_themes 2017-11-07 12:17:03 +00:00
Umangvaghela 10fe92cfc1 Fix-minor-changes 2017-10-16 16:33:12 +05:30
Akeda Bagus 0b416439c8
Fixed all typos of all files in includes/ directory.
Scanning and fixing were done automatically by codespell,
https://github.com/lucasdemarchi/codespell.
2017-03-29 00:58:51 +07:00
Claudio Sanches 375b6e9789 Remove legacy dependency code 2016-11-17 19:06:46 -02:00
Mike Jolley 0e6bbc8210 User agent tracking 2016-09-12 22:11:05 +01:00
Aristeides Stathopoulos 734f284fa4 WordPress.PHP.YodaConditions.NotYoda 2016-09-08 01:32:24 +03:00
Aristeides Stathopoulos d4e3faf014 PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket 2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos 82f3cc221e WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis 2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos ff852038c9 WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys 2016-08-27 06:11:30 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Mike Jolley 3fd15ad50f Unused vars and code docs 2016-06-06 18:57:24 +01:00
Joey Kudish 3b59fd7af4 add additional information to the WC Tracker
* Some basic info about Jetpack version, if connected, and if is a staging site
* Some basic info about WooCommerce Connect, if installed and if active
2016-05-12 13:17:53 -07:00
Mike Jolley f9756b29f1 WP_MEMORY_LIMIT defaults to 40MB, but only sets that value if more than system memory. 2015-11-25 18:53:20 +00:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Claudio Sanches 9eb3b6ddf9 Changed all requests with wp_remote_* to wp_safe_remote_* 2015-06-01 13:28:55 +01:00
Nicola Mustone d2af01df5b scrutinizer suggested tweaks 2015-03-27 16:15:40 +01:00
Gerhard d7629fef33 Update comment 2015-02-13 17:32:17 +02:00
Gerhard 3493a55653 Update time before send, make post non blocking, always update last sent. 2015-02-13 17:29:24 +02:00
Gerhard f0dbb72437 Add 10min buffer to override tracking calls. 2015-02-12 11:58:04 +02:00
Mike Jolley b2e979640c Removed unused vars 2015-02-03 16:24:01 +00:00
Gerhard f5bdcecf0b Add WC version to tracking data. 2015-02-02 14:37:00 +02:00
Mike Jolley e52611bbc3 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	includes/class-wc-tracker.php
2015-01-23 16:38:44 +00:00
Mike Jolley 5ffaf97397 Only load tracking during cron and move notices to notices class 2015-01-23 16:36:52 +00:00
Claudio Sanches 71558c449f Improved the WC_Tracker::get_theme_info() version compare 2015-01-23 14:29:10 -02:00
Mike Jolley a9103ad01a Opt-in tracking: move link out of localisation 2015-01-23 15:37:53 +00:00
Gerhard afca781480 Add link to tracking doc. 2015-01-23 17:15:55 +02:00
Gerhard b4997a7da4 Update tracker notice message. 2015-01-23 12:27:19 +02:00
Gerhard efb15ab1c4 Adjust user agent string 2015-01-23 09:15:16 +02:00
Gerhard 4e8b7327ca Switch to https for encryption. 2015-01-23 09:13:07 +02:00
Gerhard af1e4d794f Alignment. 2014-12-09 15:09:39 +02:00
Gerhard 20ad987274 Define WooCommerce core settings to track. 2014-12-09 15:05:32 +02:00
Gerhard 9fff6eb8c2 Update some docblocks 2014-12-09 15:02:02 +02:00
Gerhard 6f62e17fd0 Use get_bloginfo so it does not output. 2014-12-01 13:50:18 +02:00
Gerhard f90cf15adf Use correct theme_data variable. 2014-12-01 13:43:48 +02:00
Gerhard 77a09e3f85 Update to new tracker domain. 2014-12-01 13:28:18 +02:00
Gerhard 70297b8973 Track server related info. 2014-11-27 10:13:16 +02:00
Gerhard 4aadc76e3d Add WordPress tracking data. 2014-11-27 10:00:20 +02:00
Gerhard 144c683d7b Extend theme info to include child theme and wc support. 2014-11-27 09:07:31 +02:00
Gerhard c4b4071649 Change general to settings to reflect it better. 2014-11-27 08:56:35 +02:00
Gerhard d1c58cc276 Update docblock param reference. 2014-11-27 08:55:40 +02:00
Gerhard 8bb21d4dbc Add check to send method to ensure customer subscribed. 2014-11-27 08:55:06 +02:00
Gerhard d2da65e399 Fix extra array wrap in theme info function. 2014-11-27 08:43:03 +02:00
Gerhard 9213138a93 Add filter to tracking data so extensions can extend. 2014-11-27 08:12:17 +02:00
Gerhard b7d2f88161 Wrap up send_tracking_data function. 2014-11-26 21:46:16 +02:00
Gerhard a33400db9f Add tracker class to includes. 2014-11-26 21:36:14 +02:00
Gerhard 0faa686176 Opt-in and Opt-out admin notice and actions. 2014-11-26 21:10:42 +02:00
Gerhard e58c47b5b3 Use get_option( 'admin_email' ) instead. 2014-11-26 20:40:09 +02:00
Gerhard 9d667ba81b Add WC_Tracker class with tracking data functionality. 2014-11-26 16:03:34 +02:00