Commit Graph

29795 Commits

Author SHA1 Message Date
Joshua T Flowers 17b786e500 Tracks: Move tracking script to make available on page load (#22914)
* Filter wc queued js to add tracking script outside of jQuery

* Add tracking script directly to footer

* Move empty tracking function to admin footer hook
2019-03-04 14:16:05 +08:00
Joshua Flowers 9e6836e3a0 Use get_current_step() inside step tracking method 2019-03-04 14:14:45 +08:00
Joshua Flowers 919785bce8 Whitelist specific footer scripts 2019-03-04 14:14:45 +08:00
Joshua Flowers 123940b2ac Only add marketing tracking on next_step step of OBW 2019-03-04 14:14:45 +08:00
Joshua Flowers 3ab791843d Track marketing signup on form submission 2019-03-04 14:14:45 +08:00
Joshua Flowers 9128e8c4f5 Add scripts to wc setup footer 2019-03-04 14:14:45 +08:00
Paul Sealock 37d3fff3d6
Merge pull request #22807 from woocommerce/add/tracks-gross-revenue
Add gross revenue to Tracks base data.
2019-03-04 09:35:37 +13:00
Joshua T Flowers e53724832d
Tracks: Add tracking event when OBW is started (#22877)
* Check if current step matches event before firing

* Move step check to switch statement

* Track when the OBW has started

* Rename Jetpack activation tracking method

* Remove duplicate tracking optin check

* Track when option to track is udpated in OBW

* Check if tracking is actively being opted into in is_tracking_enabled()

* Move tracking start check into WC_Admin_Setup_Wizard_Tracking

* Clean up tracking opt-in check logic
2019-03-01 11:12:30 +08:00
Joshua T Flowers 234f3a1bb9
Tracks: Add tracking event for skipped step in OBW (#22879)
* Check if current step matches event before firing

* Move step check to switch statement

* Add ability to get steps from setup wizard

* Track last completed step in options

* Track skipped step name if bypassing the save process

* Track skipped step prior to current instead of step after last completed step
2019-03-01 10:58:11 +08:00
Joshua T Flowers 64b565465f
Tracks: Add tracking for Jetpack activation in OBW (#22875)
* Check if current step matches event before firing

* Move step check to switch statement

* Track when Jetpack is activated
2019-02-28 14:33:00 +08:00
Joshua T Flowers 53f1f5c095
Tracks: Add selected recommended plugins in OBW (#22874)
* Add tracking to store setup OBW

* Check if current step matches event before firing

* Move step check to switch statement

* Track selected plugins recommended for install
2019-02-28 14:27:05 +08:00
Joshua T Flowers f48ec6deec
Tracks: Add tracking for shipping units and labels (#22873)
* Check if current step matches event before firing

* Move step check to switch statement

* Track shipping units and labels
2019-02-28 14:22:13 +08:00
Joshua T Flowers a91adfa087
Tracks: Add selected payment gateways in OBW (#22872)
* Check if current step matches event before firing

* Move step check to switch statement

* Track payment gateways in OBW

* Combine arrays into comma separate strings
2019-02-28 11:58:08 +08:00
Joshua T Flowers 9f1b111692
Tracks: Add store setup event in OBW (#22860)
* Add tracking to store setup OBW

* Check if current step matches event before firing

* Move step check to switch statement

* Extract save events into separate method
2019-02-28 11:28:07 +08:00
Paul Sealock e2697629b9
Merge pull request #22794 from woocommerce/add/tracks-orders_edit_status_change
Tracks: Orders edit status change
2019-02-27 12:43:02 +13:00
Claudio Sanches f95f0f519e Fixed coding standards 2019-02-26 19:59:04 -03:00
Paul Sealock 260481522e better return comment 2019-02-26 16:34:43 +13:00
Jeff Stieler fe841ecc0b Add gross revenue to Tracks base data. 2019-02-26 16:31:26 +13:00
Paul Sealock 46411b12f5
Merge pull request #22851 from woocommerce/add/prefix
Change Tracks prefix to wcadmin
2019-02-26 15:54:36 +13:00
Paul Sealock bf2561270a remove check 2019-02-26 07:59:12 +13:00
Paul Sealock 0763edaeea Change prefix to wcadmin 2019-02-26 07:57:44 +13:00
Jeff Stieler 41e79ace80 Add Tracks events for product import start and finish. 2019-02-25 11:36:39 +13:00
Claudio Sanches 14fa222347
Merge pull request #22676 from woocommerce/add/woo-identity
Tracks: add Woo identity
2019-02-22 15:10:22 -03:00
Claudio Sanches 8ae61b75e3 Clean up 2019-02-22 15:08:23 -03:00
Claudio Sanches 9250ff0df5 Better check for Jetpack 2019-02-22 15:01:13 -03:00
Claudio Sanches bad7860e7e Check if file exists before loading 2019-02-22 15:00:33 -03:00
Jeff Stieler 04a1b7d79d
Track when product categories are created. (#22790)
* Track when product categories are created.

* Product category tracking: rename page property and include parent category ID.

* Fix PHPCS issues with product category tracking event.
2019-02-21 18:38:50 -07:00
Jeff Stieler 88fdbae5da
Track when a product is published. (#22788) 2019-02-21 18:34:06 -07:00
Jeff Stieler e41b0985f3
Track Subscriptions connection actions (#22805)
* Track when the Helper connection process is started.

* Track when the Helper connection process is cancelled.

* Track when the Helper connection process has completed successfully.

* Track when the Helper has been disconnected.

* Track when the Helper refreshes subscriptions.
2019-02-21 16:28:15 -07:00
Paul Sealock 24c324ae4a remove phpcs ignore 2019-02-22 12:24:31 +13:00
Paul Sealock 158cf33ded add sanitize_text_field 2019-02-22 12:23:37 +13:00
Paul Sealock 3f8b3bc1fd _woocommerce_tracks_anon_id to customere data store 2019-02-22 11:49:14 +13:00
Paul Sealock 851a2557f6 Tracks: Add a PHP client 2019-02-22 11:48:17 +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
Claudio Sanches 9ca8f97de3
Merge pull request #22792 from woocommerce/fix/product_edit-name
Fixt product_edit to match the event in the spreadsheet
2019-02-21 19:37:15 -03:00
Paul Sealock 7ada5210a5
Merge pull request #22746 from woocommerce/add/w-js
Tracks: enqueue w.js
2019-02-22 10:12:24 +13:00
Paul Sealock 49f601cc75 Tracks: Add a PHP client 2019-02-22 10:11:39 +13:00
Paul Sealock e4cf8a632b Fixt product_edit to match the event in the spreadsheet 2019-02-21 14:05:35 +13:00
Paul Sealock 078057e9b2
Merge pull request #22625 from woocommerce/add/php-tracks-client
Tracks: Add PHP client
2019-02-20 12:35:54 +13:00
Paul Sealock 1b62228faf Tracks: Add a PHP client 2019-02-20 11:15:33 +13:00
Mike Jolley 00a93ae8f0
Merge pull request #22112 from Prospress/fix/22101
Introduce wc_attribute_taxonomy_slug()
2019-01-23 21:57:07 +00:00
Mike Jolley 5b40f24adc
Merge pull request #22526 from woocommerce/fix/21299
Sort terms by parent and work back from bottommost term
2019-01-23 21:36:55 +00:00
Mike Jolley e171718534
Merge pull request #22529 from james-allan/custom_coupon_usage_limit
Keep count of the number of times custom coupons apply
2019-01-23 21:36:19 +00:00
Mike Jolley 6cfd5db528
Merge pull request #22524 from woocommerce/fix/22499
Option "Used for variations" should not appear for non-variable product types
2019-01-23 20:22:49 +00:00
Mike Jolley 20330b01bd
Merge pull request #22531 from rellect/fix_ssl_check
Fix ssl check in case shop page no longer exists
2019-01-23 20:18:43 +00:00
Mike Jolley 467681c788
Merge pull request #22537 from woocommerce/fix/22450
round variation percentage price adjustments to decimal setting
2019-01-23 20:15:12 +00:00
Mike Jolley 407a5954dc
Merge pull request #22464 from woocommerce/fix/22245
include tax in subtotals when validating coupon minimum and maximum
2019-01-23 19:54:12 +00:00
Ron Rennick 6709049cbc round variation percentage price adjustments to decimal setting 2019-01-23 14:04:04 -04:00
Mike Jolley e9f0490829
Merge pull request #21719 from vyskoczilova/master
Custom settings on shipping section (#13463, #13461)
2019-01-23 17:07:13 +00:00
Mike Jolley 6a89a76c11 Merge 17796 2019-01-23 16:39:21 +00:00