Your software
My Mautic version is: 4.4.10
My PHP version is: 8.0
My Database type and version is: 10.6
Your problem
My problem is: It seems tracking doesn’t work:
I made an Double Opt-In campaign for new contacts as here described: https://automatethis.pro/de/mautic-double-opt-in/
After a new contact fills out the form he gets a confirmation e-mail from Mautic with the link to this site:
After clicking to this link and visit this site, Mautic should add the contact to the “Active” segment and remove it from “Pending”.
But that doesn’t work and i’m new on Mautic.
Is the Mautic code right in my site? (in the footer?)
Here are the cron jobs? Have i all what i need? Errors?
* * * * * php /var/www/html/mautic/bin/console mautic:campaigns:trigger
*/5 * * * * php /var/www/html/mautic/bin/console mautic:campaigns:rebuild
*/15 * * * * php /var/www/html/mautic/bin/console mautic:segments:update
* * * * * php /var/www/html/mautic/bin/console mautic:broadcasts:send
* * * * * php /var/www/html/mautic/bin/console mautic:emails:send
0 3 * * * php /var/www/html/mautic/bin/console mautic:unusedip:delete
0 4 * * * php /var/www/html/mautic/bin/console mautic:maintenance:cleanup --days-old=90 --no-interaction
My Campaign
Thanks in advance for your help.
Greeting, Stefan
Hi @stefan-franz ,
have you you checked wether tracking works at all on your website, thus meaning the tracking code has been implemented correctly.
If that is the case, I would check the Campaign-Step “Besucht eine Seite” for possible typos or http/https mistakes.
Now i found the reason:
Hi,
If you logged in as admin into your Mautic account from the same browser where you are testing, you won’t see any activity registered including link clicks.
Is this the case?
If the browser in logged in Mautic, it doesn’t tracking
I thought its a bug, but here is the description from my github Issue
opened 10:48AM - 02 Oct 23 UTC
closed 11:21AM - 02 Oct 23 UTC
bug
needs-triage
### Mautic Version
4.4.x series
### PHP version
8.0.30
### What browsers are… you seeing the problem on?
Firefox
### What happened?
As here described i searched a whole day why the tracking is not working.
https://github.com/mautic/mautic/issues/12755#event-10523558037
### How can we reproduce this issue?
Now i found the reason: I was logged in in Mautic and testet the tracking (e-mail Link) with the same Browser.
https://forum.mautic.org/t/link-tracking-in-emails-not-working/18655/2
It works if
- i'm outlogged
- I use another browser.
I think its a bug - or need a description somewhere
### Relevant log output
_No response_
### Code of Conduct
- [X] I confirm that I have read and agree to follow this project's Code of Conduct
Hi there, this is by design because when you are testing Mautic you do not want your own clicks to be logged.
It is explicitly mentioned in the documentation here: Contact tracking | Mautic
joeyk
October 3, 2023, 8:20am
4
This is not a bug, it is a feature.
You don’t want to be tracked if you are an administrator.
1 Like