Commit Graph

47 Commits

Author SHA1 Message Date
Jan Jakeš
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
Jan Jakeš
574f10b029 Add background job to track historical WooCommerce revenues
[MAILPOET-1857]
2019-06-25 11:06:19 -04:00
Jan Jakeš
67cf418ed7 Extract WC revenue tracking cookie name to a constant
[MAILPOET-1962]
2019-05-30 12:30:19 -04:00
Jan Jakeš
a6db91d1fc Track WooCommerce purchases also by cookies
[MAILPOET-1962]
2019-05-30 12:30:19 -04:00
Ján Mikláš
ed58ad6ae0 Set new cookie for tracking abandoned cart
[MAILPOET-2062]
2019-05-21 13:20:50 -04:00
Pavel Dohnal
08851ef0a3 Add cookie tracking settings
[MAILPOET-1856]
2019-05-21 09:39:07 -04:00
Jan Jakeš
cfdb0db57c Track also free (0 value) purchases
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Jan Jakeš
079bd337c7 Rename WooCommerce "orders" to more exact "purchases"
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Jan Jakeš
481f5b9344 Add tracking of WooCommerce oders after payment
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Pavel Dohnal
bdaff6fc30 Add tracking cookie
[MAILPOET-1961]
2019-04-16 11:20:56 +02:00
Pavel Dohnal
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
Amine Ben hammou
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
Pavel Dohnal
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Rostislav Wolný
c3481dd4b7 Refactor subscription links to work with subscriber entity
[MAILPOET-1495]
2018-10-12 11:33:15 +02:00
Vlad
58f92045c0 Processes shortcodes in tracked URLs 2018-03-16 13:00:34 -04:00
Rostislav Wolny
c2c74d7524 Show default WP 404 when aborting link with 404 code [MAILPOET-782] 2018-03-03 16:45:41 +01:00
Vlad
d22ba55858 Outputs transparent gif instead of red color 2017-03-26 18:45:07 -04:00
Vlad
ec09fbcb78 - Converts static classes to dynamic 2016-08-22 16:22:33 -04:00
Vlad
375bbd2759 - Calls an open tracking class when tracking clicks 2016-08-22 09:26:25 -04:00
Vlad
30f79aa589 - Updates unsubscribe tracking logic 2016-08-22 09:26:25 -04:00
Vlad
69f8daac95 - Updates wp user & preview check condition 2016-08-22 09:26:25 -04:00
Vlad
03f3a6080c - Returns empty response or an image in all cases 2016-08-22 09:26:25 -04:00
Vlad
5886dbfd25 - Refactors statistics tracking 2016-08-22 09:26:25 -04:00
Vlad
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
Vlad
6ab7debb7b - Fixes code formatting 2016-08-22 09:26:25 -04:00
Vlad
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
Vlad
cb2faec8b2 - Refactors API
- Updates existing classes to use the refactored API methods
2016-07-05 20:17:25 -04:00
Vlad
ed707b1738 - Adds unit test for unsubscribe statistics 2016-06-08 21:25:40 -04:00
Vlad
398903e8b8 - Adds unit test for open statistics 2016-06-08 12:38:52 -04:00
Vlad
2cb0b3b071 - Adds unit test for click statistics 2016-06-07 21:57:04 -04:00
Vlad
0bf6c87ec7 - Fixes shortcode category name for view in browser url
- Updates shortcode regex
2016-05-04 10:45:30 -04:00
Vlad
3f2199fd63 - Updates link tracking to use the same Public API data format as other
endpoints
2016-05-02 13:15:48 -04:00
Vlad
2d6971f8df - Refactors link tracking class 2016-04-30 22:19:59 -04:00
Vlad
5bad682879 - Merges all shortcode links under one category
- Adds filter hooks for custom links
- Renames old shortcodes in the editor and elsewhere
2016-04-30 22:19:59 -04:00
Tautvidas Sipavičius
8d56e8582f Merge pull request #450 from mailpoet/unsubscribe_tracking
Implements tracking of unsubscribe events
2016-04-25 21:32:10 +03:00
Tautvidas Sipavičius
56959f2f49 Terminate execution after redirecting a click 2016-04-25 20:33:17 +03:00
Vlad
4b29b04bd1 - Implements tracking of unsubscribe events 2016-04-25 11:06:01 -04:00
Vlad
6cb94bc413 - Updates open rate tracking class constructor 2016-04-25 09:43:39 -04:00
Vlad
ef1b0036e5 - Fixes click tracking that would end request when calling open tracking 2016-04-22 20:30:16 -04:00
Vlad
11b22fa63a - Enables newsletter open tracking when links are clicked 2016-04-19 21:01:27 -04:00
Vlad
45b933d635 - Implements open tracking 2016-04-19 21:01:27 -04:00
Vlad
15cf087d40 - Implements post-processing filter during rendering 2016-04-19 21:01:27 -04:00
Vlad
599661e028 - Updates code based on Taut's comments 2016-04-14 20:35:56 -04:00
Vlad
84294b7ee6 - Adds subsription tracking option to Settings->Advanced
- Updates sending queue worker to not replace links if tracking is
  disabled
Closes #417
2016-04-14 19:37:27 -04:00
Vlad
a3e6eb5bba - Implementsi tracking clicks & redirecting URLs 2016-04-14 19:37:27 -04:00
Vlad
67359980e9 - Renames statistics table to the new "statistics_entity" format
- Adds new clicks statistics model
2016-04-14 19:37:27 -04:00