Commit Graph

26 Commits

Author SHA1 Message Date
Rodrigo Primo
374fbe6867 Replace Segment model with Doctrine in \MailPoet\Segments\WP
[MAILPOET-5752]
2024-02-12 15:33:28 +01:00
John Oleksowicz
327f78b902 Remove unused and unhelpful return value
MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
3ec4505445 Add bulk update engagement score updated at method
MAILPOET-5410
2023-08-11 16:39:57 +02:00
Jan Lysý
577a82ca49 Add bulk action for removing tag from subscribers
[MAILPOET-5454]
2023-07-13 13:12:56 +02:00
Jan Lysý
aa12fd57d7 Add bulk action for tagging subscribers
[MAILPOET-5454]
2023-07-13 13:12:56 +02:00
John Oleksowicz
b22217420f Track last sending at
MAILPOET-4998
2023-06-22 15:29:22 +02:00
John Oleksowicz
0e9b96d0b7 Track opens, clicks, purchases, and page views
MAILPOET-4998
2023-06-22 15:29:22 +02:00
Jan Lysý
da3ec8c9a8 Fix getting max subscriber id
[MAILPOET-5084]
2023-02-27 09:37:43 +01:00
Rostislav Wolny
ee007e9392 Refactor fetching subscribers stats data
In the original approach we completely ignored subscribers who subscribed and unsubscribed
within the last 30 days.
Based on the feedback from QA this was quite confusing.
This commit changes the logic and instead of looking at current status we fetch the counts
based on logs (the lastSubscribedAt column and statistics_unsubscribes table) and we ignore the current status.
On the list level we don't have any logs so we still need to check the current status on the list level,
but newly we ignore the global status.
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
9e157da66d Improve list level unsubscribe stats
We want to show admin how many subscribers subscribed to a list and how many
unsubscribed within last 30 days so that they see the change.
If someone subscribed and also unsubscribed within those 30 days we skip him.
We don't have data to detect they were really subscribed at some point.
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
e3897fa04e Improve global unsubscribes stats on homepage
Before this fix if a subscriber subscribed multiple times
we counted them a multiple global unsubscribes
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
04307ca2a6 Compute change of global subscribed subscribers
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
076f79358e Add engagement score to the homepage subscribers stats
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
1727163640 Add fetching of list level subscriber changes to homepage data service
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
ab35f5c8c1 Add fetching of global subscribers stats to Homepage data controller
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Jan Jakes
926620e8f8 Ignore strict types rule in all existing files that don't have it
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Jan Lysý
28b91ed994 Notify about subscriber changes in repository
[MAILPOET-4727]
2022-10-27 09:31:40 +02:00
Jan Lysý
8d5c07a317 Add notifying about deleted subscribers
[MAILPOET-4727]
2022-10-27 09:31:40 +02:00
Jan Lysý
71635f9520 Add removing tags when subscriber is deleted
[MAILPOET-4558]
2022-09-15 11:26:10 +02:00
Jan Jakes
24cca1ba04 Cache total subscribers count, add tests
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Rodrigo Primo
af396021db Move the query to calculate the max subscriber ID to SubscribersRepository
[MAILPOET-4344]
2022-08-04 11:10:50 +02:00
Jan Lysý
4440ebc3e6 Replace old model with Doctrine
[MAILPOET-4141]
2022-06-20 12:00:47 +02:00
Rostislav Wolny
ac0a9e7b6f Update doctrine/* libraries
[MAILPOET-4175]
2022-03-28 13:49:41 +02:00
Brezo Cordero
3fca53f350 Also count machine opens and clicks as engagement
[MAILPOET-4081]
2022-03-14 12:07:59 +01:00
Rostislav Wolny
94af2c324b Update subscriber last engagement with correct value
For mutable Carbon object $now->subMinute() was altering also $now variable which was causing that the saved engagement at was not accurate.
[MAILPOET-3897]
2022-02-07 09:38:25 +01:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00