Bitlybot generates page-hits for Contact

Your software
My Mautic version is: 5.1.0
My PHP version is: 8.1.29
My Database type and version is: MariaDB 10

Your problem

bitlybot creates page hits on contact when sending text messages that contains bitly shortened links.

I’ve created this simple campaign to send a text message and to inform a user about the visit that happened:

sms-test-campaign

The message is only a link:

The contacts events after the campaign fired:

When looking up the event details I can see 3x bitlybot (probably bitly checking the link) and 2x Google-PageRenderer (probably the Google Messages app on Android)

At least the bitlybot is contained in the list of bots not to track in Mautic settings. I would expect to not see page hits by bitlybot.

These errors are showing in the log: none

Steps I have tried to fix the problem: tried to understand the PHP code, but I’m not very fluent on PHP. :slight_smile:

GIhtub Issue: bitlybot recorded as page hit #14053

The link in the text message is a Mautic Landing Page. Wasn’t able to use the short-code {pagelink=8) because the link isn’t shortened when using it.