Mautic Community Forums

Add contact to segment based on URL visit?

Mautic is successfully creating contacts when visitors visit a page. I want to add all contacts that visit url.com to a segment called “site visitors”.

I thought that setting up a filter of “Visited URL > contains: url.com” would put all of the contacts into the segment, however none of the contacts are being added with that filter, even though they have visited “url.com”.

How do I automatically all add all site visitors to a segment?

I’m doing something similar, but using a campaign.

In the URL field of the Visits a Page trigger I’m using a wildcard of, in my case, *salesforce*, so that if they visit any page on my site with salesforce in the URL it matches. Then I have an action to tag them (I mostly have dynamic segments based on tags)