SendGrid adding tracking information to emails

Viewed 120

Edit: Enhancement filed for SendGrid: Ticket ID #9192184/Feature request 53.

Edit: A workaround was proposed by SendGrid to use SMTP instead, but Shift4Shop doesn't share their SMTP IP addresses, so customers must disable IP address filters for this to work.


When sending emails from an ecommerce provider to sendgrid using DNS (MX, SPF), 3rd party tracking information (e.g. link manipulation) is being applied, and we didn't add it.

enter image description here

The explanation from SendGrid is as follows:

(for purposes of explanation, I'll use ecommerce-test.com as the domain we do NOT own)

The account email is ****@ecommerce-test.com. Their settings have both Click and Open Tracking enabled, which is causing the link to wrap in the format that it is for tracking purposes. This one is tied to a parent account that appears to be the [... ecommerce test... ]'s main account. I hope that helps clarify further.

I'm unsure you'll be able to make any changes since it belongs to another user entirely. But hopefully you can contact them for more information on what can be done for you. Please let me know if you have any other questions.

We did contact them... this is what they said:

Thank you for using [ ... ecommerce test ... ]. We appologize that you are experiencing issues with your email account. Unfortunately, this seems to be a third party email to which we do not have any information nor access too. You would need to contact your email provider for assistance in this matter.

The raw .eml uses the following: (for the purposes of explanation, I will use test.com as the domain "we" own)

From: billing@test.com

... however the email header has a lot of ecommerce-test information in it as well... here's a snippet:

ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@ecommerce-test.com header.s=s1 header.b="...";
spf=pass (google.com: domain of bounces+27092108-7eb1-sales=test.com@em1876.ecommerce-test.com designates 149.72.197.132 as permitted sender) smtp.mailfrom="bounces+27092108-7eb1-sales=test.com@em1876.ecommerce-test.com";
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=test.com
Return-Path: <bounces+27092108-7eb1-sales=test.com@em1876.ecommerce-test.com>
Received: from wrqvcrvq.outbound-mail.sendgrid.net (wrqvcrvq.outbound-mail.sendgrid.net. [149.72.197.132])
by mx.google.com with ESMTPS id ...
for <sales@test.com>
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Mon, 01 Aug 2022 11:10:34 -0700 (PDT)
Received-SPF: pass (google.com: domain of bounces+27092108-7eb1-sales=test.com@em1876.ecommerce-test.com designates 149.72.197.132 as permitted sender) client-ip=149.72.197.132;
Authentication-Results: mx.google.com;
dkim=pass header.i=@ecommerce-test.com header.s=s1 header.b="QqJHti0/";
spf=pass (google.com: domain of bounces+27092108-7eb1-sales=test.com@em1876.ecommerce-test.com designates 149.72.197.132 as permitted sender) smtp.mailfrom="bounces+27092108-7eb1-sales=test.com@em1876.ecommerce-test.com";
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=test.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ecommerce-test.com;
h=from:subject:mime-version:reply-to:to:content-type:cc;
s=s1; bh=...;b=...
Received: by filterdrecv-85d98588b6-9f6xt with SMTP id ...
2022-08-01 18:10:34.538903125 +0000 UTC m=+943491.816197811
Received: from 3dcwsvm311.sl.local (unknown)
by geopod-ismtpd-4-0 (SG)
with ESMTP id 45l4cBEuTbqvDbKf_4fk3Q
for <sales@test.com>;
Mon, 01 Aug 2022 18:10:34.303 +0000 (UTC)
From: billing@test.com

Questions:

  • Is this a bug with Sendgrid?
  • Is this a configuration problem with our emails?
  • What's needed to remove third party tracking from our emails?

Related [#OMZ-934-38940], [#XYM-236-57661], #9192184

  • Issue initially observed August 2nd 2022
  • Issue was not present July 29th 2022
1 Answers

It seems that you have a long thread open with SendGrid support and have also opened tickets with Shift4Shop, and these may well be the best way to get this resolved.

As far as I can tell from the SendGrid thread, it appears that your email is in fact being sent out through Shift4Shop's integration with SendGrid.

One thing you might be able to do is use your own SendGrid account as an external SMTP server, so that the emails get sent from your own account with your own settings.

Related