Jump to content

Add an option to disable links tracking when using sparkpost


teraßyte

Recommended Posts

As per title, sparkpost by default converts/tracks any links in the emails you send out unless you specifically disable it in the API request. But there is no setting in the suite to disable it and thus we are all forced to track links even if we don't want to.

 

Bug report made on this issue (yeah, it is an issue and not feedback imo):

 

Link to comment
Share on other sites

I agree, and it's really easy to do - in \IPS\Email\Outgoing\SparkPost::_send, just add another item to the array with

'options' => array (
	'open_tracking' => TRU\IPS\Settings::i()->sparkpostTrackOpens,
	'click_tracking' => \IPS\Settings::i()->sparkpostTrackLinks,
	'transactional' => figureOutIfTransactional() // I think this one is coming in 4.1.12
),

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...