Your software
My Mautic version is: 4.4.9
My PHP version is: 8.0.30
My Database type and version is: MySQL 8.0.34
Your problem
My problem is:
I need to track visits to a specific page of my website while retrieving a specific variable (www.example.com/specific-page/?pr=test). The visits will come from emails send from outside my Mautic installation.
The Report I created does not show any page hits.
These errors are showing in the log:
None, as there is no error.
Steps I have tried to fix the problem:
I used the information provided on the following website: https://www.mautic.org/blog/developer/tracking-visitor-data-by-smart-url
to adjust my tracking script. The custom field is publicly updatable, yet I couldn’t see any entries in the report I created.
The custom field has the following settings:
- Label = Partner
- Alias = pr
- Object = Contact
- Group = Core
- Data Type = Text
- No Default Value
As of GDPR, the tracking script will only run, when the visitor agrees to the tracking with Mautic.
On the report I created, I use filters to find any page hits from a specific partner. I tried using the filter column “Hit URL”, “Campaign”, “Contact Partner”, but did not get anything. Is there a way to check if Mautic received the variable from the website visit?
Any suggestions about setting this tracking up is highly appreciated.
Thanks,
Stephan