# Can Mautic email tracking pixel code be placed on other email mailing platforms?

**URL:** https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330
**Category:** Product Support
**Tags:** mautic-3
**Created:** [July 31, 2021, 7:56pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330 "2021-07-31T19:56:56Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![miamiman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miamiman/32/1118_2.png) [@miamiman](https://forum.mautic.org/u/miamiman)
#### Post date: [July 31, 2021, 7:56pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/1 "2021-07-31T19:56:57Z")

</div>

I use different platforms for mailing our contacts.

Is it possible to track those opens and clicks back to the Mautic contact (if existent) with a tracking pixel?

If so, what would the code look like?

Any comment would be much appreciated.

Regards,

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [August 1, 2021, 5:24am UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/2 "2021-08-01T05:24:43Z")

</div>

Yes you can. But there are limitations:

1. You can track if someone opened an email by adding email into the tracking pixel. You can also add a multi-select field listing which email someone opened.  
[Contact tracking | Mautic](https://docs.mautic.org/en/contacts/manage-contacts/contact-monitoring#tracking-pixel-query)

With this method you can add openers of another mailing to Mautic by adding the right info to the link:

[http://example.com/mtracking.gif?email=email@domain.com&firstname=John&lastname=Doe&tags=LinkA](http://example.com/mtracking.gif?email=email@domain.com&firstname=John&lastname=Doe&tags=LinkA)

URL Encoded:

http%3A%2F%[2Fexample.com](http://2Fexample.com)%2Fmtracking.gif%3Femail%3Demail%[40domain.com](http://40domain.com)%26firstname%3DJohn%26lastname%3DDoe%26tags%3DLinkA

1. You can use UTM parameters and once the link is clicked, and the landing is a Mautic tracked page, you understand, that someone arrived from your email and what link they clicked.

PS1: Make sure you are using the proper domain config for that (all mailing platforms use the same subdomain)  
PS2: All custom fields must be publicly updatable

---

<div class="post-metadata">

### Author: ![miamiman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miamiman/32/1118_2.png) [@miamiman](https://forum.mautic.org/u/miamiman)
#### Post date: [August 1, 2021, 3:56pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/3 "2021-08-01T15:56:55Z")

</div>

Thank you joeyk … just to be clear, I add:

```auto
<img height="1" width="1" src="https://mymautic.com/mautic/mtracker.gif?email=johndoe@domain.com"/> 

```

… to the html of an email sent by another platform and I can track opens back to the contact in Mautic for that email? and subsequently score, etc.?

---

<div class="post-metadata">

### Author: ![miamiman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miamiman/32/1118_2.png) [@miamiman](https://forum.mautic.org/u/miamiman)
#### Post date: [August 1, 2021, 6:07pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/4 "2021-08-01T18:07:47Z")

</div>

Would you please confirm if the following is correct?

 ![Screenshot_2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/b7619ebc7c21673642d29d797ebb7550610a94ab.jpeg)

It’s not reading the correct OPEN in Mautic for the contact.

Thanks,

---

<div class="post-metadata">

### Author: ![miamiman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miamiman/32/1118_2.png) [@miamiman](https://forum.mautic.org/u/miamiman)
#### Post date: [August 1, 2021, 7:03pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/5 "2021-08-01T19:03:36Z")

</div>

Sorry to keep on with this …

But will the pixel tracking on third party email platforms **NOT** work if CORS is set to particular domains?

Would I need to set CORS to **NOT** restrict domains? to be able to track emails via the tracking pixel?

Thanks again.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [August 2, 2021, 12:41pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/6 "2021-08-02T12:41:01Z")

</div>

Is this an email html? It seems printed quotable.  
Regarding your second question: CORS should be off, NOT in restrict mode, but even better if you use a CNAME, so you have same domain tracking.

---

<div class="post-metadata">

### Author: ![miamiman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miamiman/32/1118_2.png) [@miamiman](https://forum.mautic.org/u/miamiman)
#### Post date: [August 2, 2021, 1:09pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/7 "2021-08-02T13:09:43Z")

</div>

Thanks for feedback.

1. **HTML** : Yes, it’s an html message. Is it formatted correctly?
2. **CORS** : Yes, I will leave OFF for now. However CNAME for the different mailing domain(s) should optimally be pointed back to the mautic installation?

Thanks 1000x.

---

<div class="post-metadata">

### Author: ![miamiman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miamiman/32/1118_2.png) [@miamiman](https://forum.mautic.org/u/miamiman)
#### Post date: [August 2, 2021, 6:12pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/8 "2021-08-02T18:12:26Z")

</div>

Sorry again:

I can successfully track messages emailed directly from Mautic, but NOT those mailed by third party platforms.

The automatically generated code from my Mautic creates what I believe is a tracking gif?

![Screenshot_2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/9f96536c401dfc976a79a5a6b0defc3eefc644f4.jpeg)

When I set my code to a static pixel and add the email address per above, the message doesn’t track back to the contact.

```auto
<img src="https://doamain.com/media/images/mtracker.gif?email=$contacts_email1" height="1" width="1" />

```

What am I doing wrong?

Thanks,

---

<div class="post-metadata">

### Author: ![miamiman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miamiman/32/1118_2.png) [@miamiman](https://forum.mautic.org/u/miamiman)
#### Post date: [August 2, 2021, 7:35pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/9 "2021-08-02T19:35:25Z")

</div>

So after numerous hours … per a request below from years ago, I see that it is NOT possible? to track open emails via third-party platforms?

Would somebody please confirm?

> [@E-Mail Tracking Pixel](https://forum.mautic.org/t/e-mail-tracking-pixel/5960):
>
> Is there way to tell tracking pixel to log event as email open instead of page view ? We are using third party email system for sending emails, but we would like to integrated with Mautic. Currently we are getting all leads to Mautic instance, but event is tracked as Page View

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [August 3, 2021, 1:34am UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/10 "2021-08-03T01:34:50Z")

</div>

I will look up how i did it and give you feedback.

---

<div class="post-metadata">

### Author: ![miamiman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miamiman/32/1118_2.png) [@miamiman](https://forum.mautic.org/u/miamiman)
#### Post date: [August 5, 2021, 9:33pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/11 "2021-08-05T21:33:56Z")

</div>

Hello again Joey … were you able to take a look at this?

I confirm that I have:

1. Modified all my custom fields as **public updatable**.
2. Created, authenticated the mailing domain in the format ([mail.domain.com](http://mail.domain.com)) within **CORS**.

Still not tracking the opens in the format previously shown:

\<img src=3D"https://m.mautic-sample.com/media/images/mtracker.gif?emai=

[l=3Dname@outlook.com](mailto:l=3Dname@outlook.com)" style=3D"display: none;" height=3D"1" w=

idth=3D"1"\>

Any further ideas would be great. Thanks!

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [August 7, 2021, 8:06am UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/12 "2021-08-07T08:06:44Z")

</div>

Hey,  
I checked how I did it back then.

I’m really sorry, that I my initial answer was it’s possible with the tracking img. It is not that simple, and I had to use a workaround.

Problems:

1. Firing this tracking image you are not saying what email you are trying to track. So the tracking img tries to read the header of the page, but can’t since it’s confined to an email reader.
2. Sometimes you don’t have this email registered in Mautic at all, so how do you make the tracking then?

The workaround I used relied on the followings:

1. Custom tracking pixel (10-15 lines of code) was placed on my server and by adding email id and email address an API call would be initiated, that added UTM tags OR Mautic to the contact by utilizing
2. Based on the tags further campaigns could be launched. If the person is not in Mautic, a new person would be created.

Is this solution acceptable for you?

---

<div class="post-metadata">

### Author: ![miamiman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miamiman/32/1118_2.png) [@miamiman](https://forum.mautic.org/u/miamiman)
#### Post date: [August 8, 2021, 1:46pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/13 "2021-08-08T13:46:14Z")

</div>

Yes, your solution is understandable and acceptable.

Any idea is well received.

As you say, I’m trying to create Mautic campaigns on those people who **open** and/or **click** on emails sent via third party platforms - in this case, Mailchimp, Mandrill and Sendgrid - with the correct tags and calculated points, etc.

Let me know!

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [August 9, 2021, 12:16pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/14 "2021-08-09T12:16:51Z")

</div>

Hey,  
I created a detailed blog post, including the script as well.  
I hope I covered everything.  
Joey

> **[The Mighty Pixel, that teleports contacts – Joey Keller](https://joeykeller.com/the-mighty-pixel-that-teleports-contacts/)**

---

<div class="post-metadata">

### Author: ![miamiman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miamiman/32/1118_2.png) [@miamiman](https://forum.mautic.org/u/miamiman)
#### Post date: [August 10, 2021, 2:02pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/15 "2021-08-10T14:02:05Z")

</div>

Hello Joey and forum members:

I confirm that the solution offered by Joey works successfully.

Thank you!

---

<div class="post-metadata">

### Author: ![baanglife](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/baanglife/32/10104_2.png) [@baanglife](https://forum.mautic.org/u/baanglife)
#### Post date: [July 3, 2023, 1:32pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/16 "2023-07-03T13:32:20Z")

</div>

I’m needing help with the same issue.

On new setup of Mautic, we imported 2.2m contacts. Currently we use a different email sending process for our weekly newsletter.

I’d like to use that email sender, and include a mautic pixel to “plant the seed” for mautic tracking. The site has the javascript tracking code installed.

I’ve noticed in tests that when I send from mautic, I’m able to see opens and other tracking information attached to the contact. When I use a tracking pixel in emails sent from our external service, nothing tracks in mautic.

Here is the pixel URL we’re including in the emails: [https://example.com/mtracking.gif?utm\_source=email&utm\_campaign=20230702\_test&email=testemail@gmail.com](https://example.com/mtracking.gif?utm_source=email&utm_campaign=20230702_test&email=testemail@gmail.com)

Any ideas?

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [July 3, 2023, 5:26pm UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/17 "2023-07-03T17:26:27Z")

</div>

@baanglife I’ve redacted the domain from your example URL (recommended best practice to avoid hacking attempts) - might be worth making a new post though rather than bumping a 2yr old thread 🙂

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [July 4, 2023, 9:23am UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/18 "2023-07-04T09:23:46Z")

</div>

Is your email field publicly updatable?

Open custom fields and check:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/79db1372a53c087d4651ca93989e71a2b4718c84.png)

---

<div class="post-metadata">

### Author: ![entrepositive](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/entrepositive/32/9645_2.png) [@entrepositive](https://forum.mautic.org/u/entrepositive)
#### Post date: [January 11, 2026, 2:05am UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/19 "2026-01-11T02:05:31Z")

</div>

@joeyk I’d love to read this article if it’s still up somewhere.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [January 11, 2026, 6:38am UTC](https://forum.mautic.org/t/can-mautic-email-tracking-pixel-code-be-placed-on-other-email-mailing-platforms/20330/20 "2026-01-11T06:38:41Z")

</div>

I’m not sure where that article went 🙂  
I think the colution collided with mautic’s current htaaccess and I removed it, so people can keep their Mautic’s standard.
