Docs: Update Brevo opened event

Brevo has stopped sending the opened
event on first open (along with the
unique_opened event), so change docs
to recommend enabling both.
This commit is contained in:
Mike Edmunds
2023-12-29 11:20:39 -08:00
parent 2cadb949cd
commit 804cb76aa1
3 changed files with 12 additions and 9 deletions

View File

@@ -294,8 +294,9 @@ class SendinBlueDeliveryTestCase(WebhookTestCase):
)
def test_opened_event(self):
# SendinBlue delivers unique_opened *and* opened on the first open. To avoid
# double-counting, you should only enable one of the two events in SendinBlue.
# SendinBlue delivers 'unique_opened' only on the first open, and 'opened'
# only on the second or later tracking pixel views. (But they used to deliver
# both on the first open.)
raw_event = {
"event": "opened",
"email": "recipient@example.com",
@@ -319,8 +320,7 @@ class SendinBlueDeliveryTestCase(WebhookTestCase):
self.assertIsNone(event.user_agent) # SendinBlue doesn't report user agent
def test_unique_opened_event(self):
# SendinBlue delivers unique_opened *and* opened on the first open. To avoid
# double-counting, you should only enable one of the two events in SendinBlue.
# See note in test_opened_event above
raw_event = {
"event": "unique_opened",
"email": "recipient@example.com",