How to enable SparkPost open tracking?

Lakjin

Active Member
SparkPost open tracking can be enabled by adding the following to the API request:

"options": {
"open_tracking": true,
"click_tracking": false
}

However, which MailWizz file builds this API request? So that I can modify it. Thanks!
 
I hope this response you like :

apps\common\models > DeliveryServerSparkpostWebApi.php

$sendParams = array(
'options' => array(
'open_tracking' => false,
'click_tracking' => false,
),

Change to

$sendParams = array(
'options' => array(
'open_tracking' => true,
'click_tracking' => true,
),
 
I hope this response you like :

apps\common\models > DeliveryServerSparkpostWebApi.php

$sendParams = array(
'options' => array(
'open_tracking' => false,
'click_tracking' => false,
),

Change to

$sendParams = array(
'options' => array(
'open_tracking' => true,
'click_tracking' => true,
),
Thank you good sir.
 
Back
Top