From c49a967c4d9c0c86f9380e752d37f82940d8a35d Mon Sep 17 00:00:00 2001 From: Darren Smith Date: Mon, 22 Mar 2021 17:31:48 -0400 Subject: [PATCH] Update transmissions.py Added top open pixel --- sparkpost/transmissions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sparkpost/transmissions.py b/sparkpost/transmissions.py index ef2e705..a3f292c 100644 --- a/sparkpost/transmissions.py +++ b/sparkpost/transmissions.py @@ -18,6 +18,7 @@ 'campaign': 'campaign_id', 'start_time': 'options/start_time', 'track_opens': 'options/open_tracking', + 'track_initial_opens': 'options/initial_open', 'track_clicks': 'options/click_tracking', 'transactional': 'options/transactional', 'use_sandbox': 'options/sandbox', @@ -264,6 +265,8 @@ def send(self, **kwargs): '2015-02-11T08:00:00-04:00'. :param bool track_opens: Defaults to True. Used to track opens of transmission + :param bool track_initial_opens: Used to track opens of + transmission with top pixel :param bool track_clicks: Defaults to True. Used to track clicks of transmission :param bool use_sandbox: Flag must be set to use sandbox domain instead