putyourlightson / craft-campaign

Send and manage email campaigns, contacts and mailing lists in Craft CMS.
https://putyourlightson.com/plugins/campaign
Other
63 stars 25 forks source link

Segments show inconsistent number of contacts #484

Closed adrianjean closed 4 months ago

adrianjean commented 4 months ago

Bug Report

Not sure what the issue is, but I'll describe what I'm seeing:

In Segments:

Screenshot 2024-07-14 at 8 12 13 AM

When I look at the number of contacts returned by the segment, it's not only well above the 1215 I would have expected. It's something like 2,412.

If I use the new feature in segments to filter the number of people who have NOT opened the campaign — using the same settings as above, I get an even larger number: 2,937 — this is more contacts than I have in the system.

So it feels like the segment is not scoping down to the campaign that I selected, and seems to be pulling in data from other campaigns?

If I scope the segment down to say activity within the last 7 days (the email was send out 3 days ago) I get a super small number like 63.

Help?

Screenshot 2024-07-14 at 8 12 22 AM

Plugin Version

3.4.0 pro

Craft CMS Version

Craft Pro 5.2.5

PHP Version

8.3.9

bencroker commented 4 months ago

Thanks for reporting this! Fixed the display issue in https://github.com/putyourlightson/craft-campaign/commit/67a725069e0f371460c731267aa9fac3de9992c7, for the next release.

You can test it by running composer require "putyourlightson/craft-campaign:dev-develop as 3.4.1".

adrianjean commented 4 months ago

Confirmed!!! - works great. Thank you for such a quick fix!

bencroker commented 4 months ago

Released in 3.4.1.