/mailcoach/campaigns/1/summary says 0 for everything even though I have opened the email (and downloaded the images) and clicked a link. I don't know what I'm doing wrong.
I was very excited to see that my inbox received the campaign and that its links used my custom subdomain and then correctly bounced to my real domain (so I guess I configured SES and SNS correctly).
Does the fact that the "Send now" button worked mean that at least my Horizon and Redis are working?
I'm totally new to Horizon, so I wouldn't be surprised if I've done something wrong.
One problem I'm having with it is that I can't get the HorizonServiceProvider "gate" function to work because it never even gets called. I don't know why. I saw it get called yesterday, but today I haven't been able to get that to work, so I needed to ssh into my staging server and temporarily change my .env
to say APP_ENV=local
so that /horizon/dashboard would load without a 403 error.
But even after doing that temporary hack, everything I see in the Horizon dashboard is foreign to me; I don't know what activity I should be seeing and how to know if anything is wrong.
I even manually ran:
php artisan mailcoach:calculate-statistics
Start calculating statistics...
Calculating statistics for campaign id 1...
All done!
But the stats still say 0.
Also, instead of using "Send now" for my Campaign 2, I tried to schedule it, but it still says "This campaign is scheduled to be sent at 2020-02-04 22:45." even though that time has passed.
So then I just ran:
php artisan mailcoach:send-scheduled-campaigns
Checking if there are scheduled campaigns that should be sent...
Sending campaign `2` (2)...
All done!
But now /mailcoach/campaigns/2/summary continually says "Campaign 2 is preparing to send to test" and there is no email in my inbox.
Ohhh that was because the Horizon process had stopped. So now Campaign 2 sent.
But now even with Horizon definitely running, the stats are still incorrect for both campaigns, even when I manually run:
php artisan mailcoach:calculate-statistics
Start calculating statistics...
Calculating statistics for campaign id 2...
All done!
I'd appreciate any hints! Thanks!