Mautic Community Forums

Click tracking not working

Your software
My Mautic version is: 2.15.3
My PHP version is: 7.2.6

Your problem
I’m trying to setup click tracking on my email for subscribers to double opt-in, however the click tracking is not working what so ever. It is not detecting any visits on the link. I have tried both on a Mautic contact form and on Wordpress with the Mautic plugin. The tracking pixel was on both pages.

My campaign setup is the following:

The campaign does track if the email is opened, but not if the link is clicked. The links are identical in the email contents as in the url trigger.

Tracking script is present on target page:
tracking

These errors are showing in the log:
Errors related to SSL, nothing to do with the issue at hand.

Steps I have tried to fix the problem:
Using a Mautic Landing page.
Using a Wordpress page with the plugin.
Using a blank html page with just the tracking pixel.
Creating a new campaign.
We have tried clicking the link on numerous devices, from different mail providers with the same result.

Bumping this as I still haven’t solved the issue. Any help would be greatly appreciated :slight_smile:

Are you testing this locally, or on a live server? Localhosts don’t track clicks unless you are using dev mode, as far as I am aware.

How are you inserting the links? Are you using the insert link button on the editor? If you insert directly without using the editor I think they are not tracked, from memory!

Ruth

Thank you for your reply! It is hosted on a live server. The link was embedded as a hyperlink, using the email builder.

Best,
Serty

1 Like

Bumping this once more. Still no solution found unfortunately.

@serty Which email provider are you using?

@Yosu_Cadilla We’re using locally hosted mail servers. We tried receiving the emails on several providers and they’re being received but there’s no luck with click tracking. The emails from the campaign are working just fine. Test emails are working,form-signup emails are working and so on. The issue arises only when click tracking is being used.

Bumping once again. Issue is still unresolved.

You’re using local email server for receiving or for sending or both?

Hi there everyone, we have the same issue.
Running a live instance on mautic 2.15.3 and php 7.2.24

Links in emails are getting re-written but actions are not being tracked.

We’ve tried both local and remote for receiving. Local for sending.

Sorry to hear you’re experiencing this too. If you find a solution, please let me know!

@serty @Omer Is any of you guys running Mautic behind a proxy (or cloudflare or other similar services)?

No, nothing like that. Issue is unfortunately still unresolved.

When hovering a link in your email, do you see your Mautic domain, or the final URL you are attempting to send people to?

I see my own domain with a click tracking attached to it: https://xxx.xxx.dk/r/1dfffd3af216dd2f4a9d89a74?ct=YTo1OntzOjY6InNvdXJjZSI7YToyOntpOjA7czoxNDoiY2FtcGFpZ24uZXZlbnQiO2k6MTtpOjI7fXM6NToiZW1haWwiO2k6NDtzOjQ6InN0YXQiO3M6MjI6IjVkZDY5Y2Q3OTBlOTYzNTE5NDgwODUiO3M6NDoibGVhZCI7aToyODtzOjc6ImNoYW5uZWwiO2E6MTp7czo1OiJlbWFpbCI7aTo0O319&

@serty @alban

Did you guys solve the issue?
In my case, it was related to heathers and proxies, solved a while ago and been working like a charm since.
Please think twice before discarding proxies as a possible cause, proxies are everywhere nowadays.

Oh! and triple check your mtc.js is working as it is supposed to…