Commit Graph

100 Commits

Author SHA1 Message Date
Pavel Dohnal
1f6836dae6 Save bounces statistics
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Rostislav Wolny
9c3fc95a6d Add updating last engagement within clicks tracking
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
ed8de3eb17 Save last engagement when tracking opens
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rodrigo Primo
8b7815caf8 Use Doctrine for the opens and clicks exporters
This commit refactors the code that handles exporting e-mails opens and
clicks when generating the personal data file to use Doctrine instead of
Paris. I opted to do this in this task as opens and clicks code share
some functionality, and I didn't want to add more code that relies on
Paris, as we are eventually going to remove it.

[MAILPOET-3738]
2021-08-25 17:01:33 +02:00
Jan Lysý
292f075abe Improve user agent overriding
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
71ce62d027 Set user agent type in statistic tables
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Pavel Dohnal
bb52329168 Track user agent on click
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
0b675680ef Refactor click tracking to Doctrine
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
7197be3116 Override user agent on open
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
a84471b65c Save user agent on open
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Rostislav Wolny
65b834a9ff Update renamed NotCamelCaps rule
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
ed66dfc8e9 Recalculate subscriber score only when a new open was tracked
[MAILPOET-3669]
2021-06-28 14:37:13 +02:00
Jan Lysý
c9636ebf1b Use Newsletter\Links as service
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
993ba6ec3f Remove recalculation segment's score from tracking
[MAILPOET-3633]
2021-05-24 09:56:38 +02:00
Jan Lysý
69ddfb2e96 Remove unnecessary query for calculation segment score
[MAILPOET-3633]
2021-05-24 09:56:38 +02:00
Jan Lysý
62cb468525 Rename method and variables
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Jan Lysý
6d0486cfc5 Add calculation segment score
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Pavel Dohnal
759fc85123 Fix subscribers score for auto emails
[MAILPOET-3600]
2021-05-05 11:53:37 +02:00
Jan Lysý
8635fd4c50 Calculate subscriber score only in last 12 months
[MAILPOET-3585]
2021-05-03 11:23:47 +02:00
Pavel Dohnal
9eeeb10415 Add a button for recalculating score
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
3f91c40594 Round score to 1 decimal instead of 0
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
274da5cd64 Create cron worker for calculating scrore
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
06d2cc8cb7 Recalculate engagement score after open
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Jan Lysý
a715aa9b76 Replace usages of StatisticsForms with Doctrine
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
6a8dbc6123 Add StatisticsFormsRepository
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Pavel Dohnal
9bd50f5be4 Fix rendering 404 page
[MAILPOET-3311]
2021-01-11 10:11:31 +01:00
Pavel Dohnal
a8050f0f02 Create method for wp check
[MAILPOET-2993]
2020-11-11 11:34:55 +01:00
Pavel Dohnal
fcbfd6fb68 Refactor shortcode categories to doctrine
[MAILPOET-2993]
2020-11-11 11:34:55 +01:00
Pavel Dohnal
6139e300c3 Free up shortcodes constructor for DI
[MAILPOET-2993]
2020-11-11 11:34:55 +01:00
Pavel Dohnal
7d538abad8 Refactor tracking into doctrine
[MAILPOET-2993]
2020-11-11 11:34:55 +01:00
Pavel Dohnal
c1c5885398 Refactor Statistics Entities to use association
[MAILPOET-3069]
2020-08-11 12:54:24 +02:00
Pavel Dohnal
c3e0f5cf76 Move optional parameter after mandatory
[MAILPOET-2737]
2020-06-24 10:28:52 +02:00
Pavel Dohnal
4e3b206734 Track admin unsubscribe
[MAILPOET-2792]
2020-06-24 10:28:52 +02:00
Pavel Dohnal
47890d4f27 Track source when user clicks unsubscribe link
[MAILPOET-2792]
2020-06-24 10:28:52 +02:00
Jan Jakeš
86a24ad674 Use PHPStan generics
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Pavel Dohnal
0583e84b15 Add repository for purchases
[PREMIUM-142]
2020-05-14 11:08:28 +02:00
Rostislav Wolny
78f055b7aa Refactor unsubscribes tracker to doctrine
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
Jan Jakeš
1774b48666 Autofix unused "use" statements
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Amine Ben hammou
5ca9b6f520 Fix shortcode being URL encoded
[MAILPOET-2540]
2019-11-27 09:44:48 +00:00
Pavel Dohnal
01f4df87b6 Ensure the correct value
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Pavel Dohnal
26e2b43fd1 Make sure we don't clone null value
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Pavel Dohnal
200a9b1edb Move unrelated code to own class
[MAILPOET-2397]
2019-10-23 17:34:07 +01:00
Pavel Dohnal
a42a971efd Move GA tracking to free
[MAILPOET-2397]
2019-10-23 17:34:07 +01:00
Jan Jakeš
d2f6c48acb Prevent tracking WooCommerce purchases multiple times
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
Jan Jakeš
440ed0aa23 Add service for cookies handling & encode them with JSON
[PREMIUM-121]
2019-07-23 12:22:19 -04:00