# Wordpress WP Mautic plugin does not work

**URL:** <https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076>\
**Category:** Product Support\
**Created:** [July 24, 2015, 6:31am UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076 "2015-07-24T06:31:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmajor](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@vmajor](https://forum.mautic.org/u/vmajor)\
**Post date:** [July 24, 2015, 6:31am UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076/1 "2015-07-24T06:31:42Z")

</div>

…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.

---

<div class="post-metadata">

**Author:** ![vmajor](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@vmajor](https://forum.mautic.org/u/vmajor)\
**Post date:** [July 24, 2015, 6:31am UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076/2 "2015-07-24T06:31:42Z")

</div>

…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.

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [July 24, 2015, 12:39pm UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076/3 "2015-07-24T12:39:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vmajor](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@vmajor](https://forum.mautic.org/u/vmajor)\
**Post date:** [July 24, 2015, 10:40pm UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076/4 "2015-07-24T22:40:24Z")

</div>

mod\_pagespeed is a Google plugin for Apache2 and nginx [https://developers.google.com/speed/pagespeed/module/](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:

```auto
 <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.

---

<div class="post-metadata">

**Author:** ![vmajor](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@vmajor](https://forum.mautic.org/u/vmajor)\
**Post date:** [July 25, 2015, 12:02pm UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076/5 "2015-07-25T12:02:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rekast](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@rekast](https://forum.mautic.org/u/rekast)\
**Post date:** [November 27, 2015, 6:03am UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076/6 "2015-11-27T06:03:18Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![healthstatus](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@healthstatus](https://forum.mautic.org/u/healthstatus)\
**Post date:** [November 27, 2015, 3:02pm UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076/7 "2015-11-27T15:02:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [November 28, 2015, 9:15am UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076/8 "2015-11-28T09:15:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![healthstatus](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@healthstatus](https://forum.mautic.org/u/healthstatus)\
**Post date:** [November 28, 2015, 3:10pm UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076/9 "2015-11-28T15:10:29Z")

</div>

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

Sorry, I am not a Git person

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:56pm UTC](https://forum.mautic.org/t/wordpress-wp-mautic-plugin-does-not-work/2076/10 "2020-02-02T22:56:49Z")

</div>


