-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brevo has stopped sending the opened event on first open (along with the unique_opened event), so change docs to recommend enabling both.
- Loading branch information
Showing
3 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -294,8 +294,9 @@ def test_deferred_event(self): | |
) | ||
|
||
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": "[email protected]", | ||
|
@@ -319,8 +320,7 @@ def test_opened_event(self): | |
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": "[email protected]", | ||
|