Wordpress WP Mautic plugin does not work

…actually the plugin itself seems to work as I see this in my page source:



mautic is open source marketing automation



…but Mautic does not record any visits to the blog. There are visits, including my own from various devices.



What may be going wrong?



V.

…actually the plugin itself seems to work as I see this in my page source:

mautic is open source marketing automation

…but Mautic does not record any visits to the blog. There are visits, including my own from various devices.

What may be going wrong?

V.

What is this pagespeed javascript showing up? Could that be somehow impacting the file load?

mod_pagespeed is a Google plugin for Apache2 and nginx https://developers.google.com/speed/pagespeed/module/

If function of the tracking pixel is affected by mod_pagespeed, I suggest you rewrite the tracking code as mod_pagespeed is widely used.

However, I disabled mod_pagespeed for that site where I am testing Mautic tracking and I am still unable to observe any activity in Mautic.

The page source now says this, so the plugin is working and pagespeed is disabled:

 <img style="display:none" src="http://[my_mautic_url]/mtracking.gif?d=YTo0OntzOjU6InRpdGxlIjtzOjczOiJzdGF5aW5nIHNhZmUgJmFtcDsgd2VsbCBvbiB0aGXCoGJpa2VWZWxvY2l0ZSBCaWtlcyBibG9nLCBuZXdzIGFuZCB1cGRhdGVzIjtzOjg6Imxhbmd1YWdlIjtzOjU6ImVuX1VTIjtzOjg6InJlZmVycmVyIjtzOjMxOiJodHRwOi8vYmxvZy52ZWxvY2l0ZS1iaWtlcy5jb20vIjtzOjM6InVybCI7czoxMjU6Imh0dHA6Ly9ibG9nLnZlbG9jaXRlLWJpa2VzLmNvbS8yMDE1LzA3L3N0YXlpbmctc2FmZS13ZWxsLW9uLXRoZS1iaWtlP3llYXI9MjAxNSZtb250aG51bT0wNyZuYW1lPXN0YXlpbmctc2FmZS13ZWxsLW9uLXRoZS1iaWtlIjt9" alt="mautic is open source marketing automation" />

So can you tell me:

  1. What URL should I enter during the plugin setup? The URL of where Mautic is running, or some other, longer version? On a hunch since my dashboard does not always load due to a 404, I added /index.php to the URL and tested loading /index.php/mtracking.gif and it worked. If I try to load just /mtracking.gif I get a 404. Yes mod_rewrite is installed and active but I still need to have index.php in the URL in order to be able to get Mautic to load.

  2. Where am I meant to observe the activity on the website? Perhaps I am looking in the wrong place or expecting a behaviour that is not actually what is supposed to happen? Right now I am looking at Reports --> Visits published pages and seeing no activity.

Thanks,

V.

It works now. The leads appear in leads. All appears to be well except that I need to use index.php in my URL or I get a 404. this applies to using Mautic itself.

V.

@vmajor , did this get fixed for you by removing the page speed script? I am also experiencing no leads showing up but do not have that installed on my server.

The Wordpress plugin only tracks page views back to Mautic. I had to modify the plugin to actually pass name and email info back to Mautic.

@healthstatus would you mind share your improvements back to the community? https://github.com/mautic/mautic-wordpress

I did here,
https://www.mautic.org/community/index.php/1022-wordpress-plugin-what-does-it-do/0

Sorry, I am not a Git person