Matt Sherman
c6fb4aefbc
Add `wcadmin_categories_view`, `wcadmin_categories_seach`, `wcadmin_tags_view`, and `wcadmin_tags_search` Tracks events.
2020-05-08 14:08:33 -04:00
Matt Sherman
da1dd76a68
Only log `products_search` event if search query is non-empty
2020-05-08 11:20:28 -04:00
Matt Sherman
b1a32f4144
Add `wcadmin_products_search` Tracks event.
2020-05-07 21:24:17 -04:00
Matt Sherman
df97b1f74e
Add `wcadmin_products_view` Tracks event
2020-05-07 18:39:19 -04:00
vedanshujain
fcd4057218
More preventive check for order object in tracks.
2020-04-08 11:43:20 +00:00
vedanshujain
e573390356
Add protective checks around order to prevent issues when order is drafted.
2020-04-08 09:56:18 +00:00
Vedanshu Jain
46caa40854
Merge pull request #26085 from woocommerce/add/25849-implement-additional-tracks-take-2
...
Implement additional tracks take 2
2020-04-07 14:48:19 +05:30
Claudio Sanches
e95f34e81e
Fixed coding standards and hooks priority
2020-04-06 17:10:09 -03:00
Rebecca Scott
3807b809b4
Localise edit product header in products tracking
2020-04-06 11:22:24 +10:00
Rebecca Scott
b8c2ce48b8
Revert "Revert "Implement additional tracks""
...
This reverts commit c24b565477
.
2020-04-06 10:27:45 +10:00
Claudio Sanches
c24b565477
Revert "Implement additional tracks"
2020-04-01 11:34:54 -03:00
Rebecca Scott
e998cc963c
Remove stock level set tracking as this is done in JS now
2020-03-27 15:23:51 +10:00
Rebecca Scott
4136a42e1e
Just include the ISO8601 date instead of the full WC_DateTime object
2020-03-27 15:19:18 +10:00
Rebecca Scott
39f654124c
Fix event name
2020-03-27 14:54:48 +10:00
Rebecca Scott
b31878440e
Revert function event
2020-03-27 14:52:24 +10:00
Rebecca Scott
5a45d6a3f2
Use var instead of const/let because IE11
2020-03-27 14:51:26 +10:00
Rebecca Scott
17d5f42228
remove order id from order tracking as it isn't required
2020-03-26 11:12:26 +10:00
Rebecca Scott
db6a4c630f
fix coupon tracking method name
2020-03-26 11:09:37 +10:00
Rebecca Scott
768a3a3f4f
Track product updates using client side scripting to avoid double bouncing on the server
2020-03-26 10:55:31 +10:00
Rebecca Scott
75a9971e9d
Fix single_order_view event name
2020-03-25 13:04:54 +10:00
Rebecca Scott
496b602eb4
Remove commented out stock quantity value
2020-03-24 12:09:32 +10:00
Rebecca Scott
f580b34aa7
Add tracks for quantity updates
2020-03-24 12:03:36 +10:00
Rebecca Scott
a4e6b48aa3
Track when a coupon is created/updated
2020-03-24 11:49:00 +10:00
Rebecca Scott
5eab1cbdba
Get product type instead of category IDs and split out virtual and downloadable
2020-03-24 11:48:38 +10:00
Rebecca Scott
928529880d
Track viewing an order
2020-03-18 13:14:31 +10:00
Timmy Crawford
5d4e3ced65
Convert js filter to underscores too, to match wc-admin
2020-03-17 16:09:37 -07:00
Rebecca Scott
7adabc9a6a
Remove unnecessary use statement
2020-03-17 11:51:50 +10:00
Rebecca Scott
4bdcd3eccd
Start tracking product_update
2020-03-17 11:27:57 +10:00
Timmy Crawford
356e5a562f
Protect _ui and _ut props, move JS filter below product count
2020-03-16 17:00:25 -07:00
Timmy Crawford
2c8195ca8a
remove console.log
2020-03-13 17:09:13 -07:00
Timmy Crawford
5880ef902d
Add ability to filter props for js-based tracks.
2020-03-13 16:31:06 -07:00
Timmy Crawford
0c1f468692
Add filter for php-based tracks event properties.
2020-03-09 12:46:40 -07:00
Christopher Allford
bf02776a3b
Corrected inconsistent uses of the Constants library
2020-02-03 13:15:12 -08:00
Christopher Allford
6ad091a9b7
Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages
2020-01-28 21:21:29 -08:00
Rodrigo Primo
94373f78ea
Fix WordPress.Arrays.MultipleStatementAlignment errors automatically using phpcbf
2019-12-20 13:51:26 -03:00
Rodrigo Primo
f06ad5d78a
Replace removed WordPress.Security.NonceVerification.NoNonceVerification
...
WordPress Coding Standard 2.0 removed the sniff
WordPress.Security.NonceVerification.NoNonceVerification:
```
The WordPress.Security.NonceVerification sniff used the same error code for both an error as well as a warning.
The old error code NoNonceVerification is no longer used.
The error now uses the Missing error code, while the warning now uses the Recommended error code.
```
(from
d45f5e5cf3/CHANGELOG.md (200-rc1---2018-12-31)
)
This commit updates WooCommerce code and replaces all instances where WordPress.Security.NonceVerification.NoNonceVerification verification was used with either WordPress.Security.NonceVerification.Missing or
WordPress.Security.NonceVerification.Recommended. In a few cases WordPress.Security.NonceVerification.NoNonceVerification was used but was not needed, so instead of replacing the sniff, the line was removed. In two other cases, I removed other unrelated sniffs that were not needed.
2019-12-13 17:45:32 -03:00
Gerhard Potgieter
aaee28fe1e
Merge pull request #24798 from woocommerce/fix/24792
...
Do not set tracking cookie on ajax requests
2019-11-18 14:00:21 +02:00
Claudio Sanches
ff80f08353
Fixed coding standards
2019-10-16 15:49:03 -03:00
Claudio Sanches
3604c4939a
Prevent PHP warning in tracker
2019-10-16 15:47:32 -03:00
Gerhard
e22a024473
Cookies should only be set in wp-admin, avoid setting when doing ajax requests since that is seen as an admin request as well.
2019-10-10 08:29:10 +02:00
Rodrigo Primo
0128a0686b
Merge pull request #24396 from woocommerce/fix-implode-parameter-order
...
Use correct parameter order for implode.
2019-08-23 11:14:50 -03:00
Claudio Sanches
8a278d3d96
Fixed coding standards
2019-08-19 20:42:42 -03:00
Claudio Sanches
6bc080fef0
Prevent PHP warning when date is null
2019-08-19 20:41:30 -03:00
David Stone
d685964df6
Use correct parameter order for implode. Solves deprecation notice in PHP 7.4
2019-08-13 13:03:09 -06:00
vedanshujain
6ab03e6acd
Return early if post status is `auto-draft` to prevent fatal.
...
While creating an order, if we remove an item after adding, `pre_post_update` hook gets called. Since the order is not created yet, `$order->get_date_created()` will be null, and this will cause a fatal in the event tracker which checks for and tracks edit in order created date.
We now return early when order status is `auto-draft` to prevent these kind of errors.
2019-07-17 00:21:18 +05:30
Gerhard Potgieter
7c0d0251ee
Merge pull request #23883 from woocommerce/add/new-edit-order-tracks
...
Track more events on the edit order screen for future design validation.
2019-07-15 09:36:01 +02:00
Marcin Bot
bd9961703b
Fix namespaced Jetpack tracks_get_identity
2019-07-12 15:35:49 +01:00
Rodrigo Primo
52ecc2f357
Merge pull request #24056 from woocommerce/fix/obw-tracks-events
...
OBW: Fix event recording in OBW
2019-07-11 10:00:22 -03:00
Gerhard Potgieter
013ee83b47
Merge pull request #23189 from woocommerce/tracks/coupons
...
Tracks: Add coupons view events
2019-07-09 11:04:43 +02:00
Claudio Sanches
adc543f8f1
Merge pull request #24058 from woocommerce/add/wc-admin-obw-recommended
...
OBW: Add wc-admin to recommended page
2019-07-08 16:56:49 -03:00