Commit Graph

63 Commits

Author SHA1 Message Date
c1c5885398 Refactor Statistics Entities to use association
[MAILPOET-3069]
2020-08-11 12:54:24 +02:00
c3e0f5cf76 Move optional parameter after mandatory
[MAILPOET-2737]
2020-06-24 10:28:52 +02:00
4e3b206734 Track admin unsubscribe
[MAILPOET-2792]
2020-06-24 10:28:52 +02:00
47890d4f27 Track source when user clicks unsubscribe link
[MAILPOET-2792]
2020-06-24 10:28:52 +02:00
78f055b7aa Refactor unsubscribes tracker to doctrine
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
26e2b43fd1 Make sure we don't clone null value
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
d2f6c48acb Prevent tracking WooCommerce purchases multiple times
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
440ed0aa23 Add service for cookies handling & encode them with JSON
[PREMIUM-121]
2019-07-23 12:22:19 -04:00
86fe698e31 Simplify IF condition
[PREMIUM-121]
2019-07-23 12:22:19 -04:00
5af4a048c4 Fix tracking option name for abandoned cart cookie
[PREMIUM-121]
2019-07-23 12:22:19 -04:00
48a1bafbaa Use constants for abandoned cart cookie settings
[PREMIUM-121]
2019-07-23 12:22:19 -04:00
6b9542385f Calculate two weeks range from order date, not from actual date
This will select clicks correctly also when used from cron.

[MAILPOET-1857]
2019-06-25 11:06:19 -04:00
574f10b029 Add background job to track historical WooCommerce revenues
[MAILPOET-1857]
2019-06-25 11:06:19 -04:00
67cf418ed7 Extract WC revenue tracking cookie name to a constant
[MAILPOET-1962]
2019-05-30 12:30:19 -04:00
a6db91d1fc Track WooCommerce purchases also by cookies
[MAILPOET-1962]
2019-05-30 12:30:19 -04:00
ed58ad6ae0 Set new cookie for tracking abandoned cart
[MAILPOET-2062]
2019-05-21 13:20:50 -04:00
08851ef0a3 Add cookie tracking settings
[MAILPOET-1856]
2019-05-21 09:39:07 -04:00
cfdb0db57c Track also free (0 value) purchases
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
079bd337c7 Rename WooCommerce "orders" to more exact "purchases"
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
481f5b9344 Add tracking of WooCommerce oders after payment
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
bdaff6fc30 Add tracking cookie
[MAILPOET-1961]
2019-04-16 11:20:56 +02:00
21766421d5 Upgrade PHPStan level to 4
I had to add some ignore errors until phpstan/phpstan#1482 is resolved

[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
c3481dd4b7 Refactor subscription links to work with subscriber entity
[MAILPOET-1495]
2018-10-12 11:33:15 +02:00
58f92045c0 Processes shortcodes in tracked URLs 2018-03-16 13:00:34 -04:00
c2c74d7524 Show default WP 404 when aborting link with 404 code [MAILPOET-782] 2018-03-03 16:45:41 +01:00
d22ba55858 Outputs transparent gif instead of red color 2017-03-26 18:45:07 -04:00
ec09fbcb78 - Converts static classes to dynamic 2016-08-22 16:22:33 -04:00
375bbd2759 - Calls an open tracking class when tracking clicks 2016-08-22 09:26:25 -04:00
30f79aa589 - Updates unsubscribe tracking logic 2016-08-22 09:26:25 -04:00
69f8daac95 - Updates wp user & preview check condition 2016-08-22 09:26:25 -04:00
03f3a6080c - Returns empty response or an image in all cases 2016-08-22 09:26:25 -04:00
5886dbfd25 - Refactors statistics tracking 2016-08-22 09:26:25 -04:00
b492bcecc0 - Removes requirement of passing newsletter id when tracking clicks
- Extracts common tracking data processing/validation code into the Track
  class
- Refactors Clicks, Opens and View in Browser classes to enforce
  subscriber id and token check
- Allows admin users to preview newsletters without tracking statistics
2016-08-22 09:26:25 -04:00
6ab7debb7b - Fixes code formatting 2016-08-22 09:26:25 -04:00
b76ce6c26f - Adds verification of newsletter-to-queue and subscriber-to-queue
- Prevents tracking open/click rates for subscribers who the newsletter
  was not sent to
2016-08-22 09:26:25 -04:00
cb2faec8b2 - Refactors API
- Updates existing classes to use the refactored API methods
2016-07-05 20:17:25 -04:00
ed707b1738 - Adds unit test for unsubscribe statistics 2016-06-08 21:25:40 -04:00
398903e8b8 - Adds unit test for open statistics 2016-06-08 12:38:52 -04:00
2cb0b3b071 - Adds unit test for click statistics 2016-06-07 21:57:04 -04:00
0bf6c87ec7 - Fixes shortcode category name for view in browser url
- Updates shortcode regex
2016-05-04 10:45:30 -04:00
3f2199fd63 - Updates link tracking to use the same Public API data format as other
endpoints
2016-05-02 13:15:48 -04:00
2d6971f8df - Refactors link tracking class 2016-04-30 22:19:59 -04:00