Site tracking doesn't work in a campaign

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:

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

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

This is not a bug, it is a feature.
You don’t want to be tracked if you are an administrator.

1 Like