Hi everyone,
I’m not an expert in WordPress, so I recently created my website and set up Mautic. I successfully inserted a form on my website, and everything was working fine. However, after a few months, the form stopped working, and now it only displays the code on the website.
I’ve tried reinstalling all the plugins and themes and searching the internet for solutions, but I couldn’t find anything helpful.
Could someone please provide assistance?
The website is:
Thank you.
]]>Hi,
WordFence, and other security plugins are detecting vulnerabilities with WP-Mautic plugin, it’s over a year or more since it has been worked on and updated to be current with the latest WordPress. I have looked at GitHub and nothing showing anything either as of current over 2 years or more on most recent updates. This plugin works great, or has worked great for me for a long time and having some issues now because of these vulnerabilities. When will this plugin be updated again because it’s been over a year.
Thanks
]]>Hello,
first many thanks for this wonderful work of yours, that helps to work with targets that would be otherwise intractable.
I want to be able to check when a user finishes looking at each of a series of videos I offer. The result of this checking would be to add points or a tag to the user on Mautic.
My idea to do that would be the following, but this is just an idea, please tell me if I am wrong:
The plugin FV Foliovision allows to automatically redirect the user to another page when the video ends. So I can put in this other page the form to register. Then the registered user is supposedly logged-in and the confirmation page of the registration form may contain a shortcode to add a tag or points in Mautic for that user.
Is this possible? Or are there better ways to do that?
best
Hello,
My form id in my Mautic instance is 1. And I’m using the shortcode; however the form doesn’t show.
Question:
– right now my mautic instance is from an IP and not https – will it work once I attach the domain name and get the ssl certificate installed? (I had to move my mautic from my shared hosting to digital ocean and need to get a new domain name, and I had the form working just fine on the old instance (https & domain). Thanks.)
Thank you!
]]>Hello,
It’s seems that UTM recording is not working well with plugin and mautic.
I enabled UTM recording in mautic form.
should I do something diferent?!
]]>I’ve got an issue about merging contacts.
My website works with logged users, the users are able to access some pages, but the content is locked only for logged users.
At mautic I’m able to see contacts being created over their IP address, what is pretty correct, but after the account creation (providing an email) their track is not connect to the brand new contact.
So far I got not error logs.
I’m running mautic 3.2.5, wordpress 5.6.1, and wp-mautic 2.4.2
Anyone having the same issue?
]]>Hello.
I’m trying to execute the wpmautic_send()
function when a user accepts cookies but I get a “WPMautic: mt not defined. Did you load mtc.js ?” error in the console. I’m a total beginner with javascript and wonder what I’m doing wrong.
Here is the code I’m executing when a user accepts cookies:
<script type="text/javascript" src="https://mywebsite.com/mautic/mtc.js"></script>
<script type="text/javascript">
wpmautic_send();
</script>
When I enter the mtc.js file url directly into the browser, the file contents load ok, so the file is there.
I appreciate any help since I can’t find anything on Google.
]]>Hi there,
I inserted on a popup (Elementor Pro) the shortcode of a Mautic form. Everything is working fine. But the validation error messages are not showed. Instead when inserting a shortcode on an regular Elementor page it works everything fine.
On the console in navigator dev tool, there is warning:
DevTools failed to load SourceMap: Could not load content for chrome-extension://fdhgeoginicibhagdmblfikbgbkahibd/sourceMap/edge/iframe_handler.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
It would be great to solve it because now I cannot use elementor Pro with Mautic Plugin.
Thank you very much
]]>Hi,
I have a WordPress site and another server with the latest version of Mautic community. I use some forms with the shortcode via the Mautic plugin. I also use Focus Elements and Dynamic Text. Everything except the forms is working fine. But forms are not rendered at all. If I look at the source code, then there is nothing rendered. If I turn off the plugin, it generates the shortcode text itself.
Does something change with WordPress 5.6?
All codes worked without issues. Nothing has changed with the forms, and they render OK when I call them via the direct Mautic URL.
]]>Hello
First of all I would like to thank you for this great, freely available plugin! Before version 2.4 I have set in the plugin settings that the tracking code is not inserted by WP Mautic. The Mautic tracking code is inserted by a Cookie Plugin from WordPress.
I don’t understand now how and if I have to use the new Javascript function with version 2.4?
Thank you in advance for your help!
Suppose John Doe and Jane Doe both share a device.
John Doe creates an account; a Mautic user is created with his email address.
Jane Doe creates her own account on the same device (without clearing the cookies).
This will then update email address (and other fields in Mautic), which means that you won’t successfully track either of them (their page hits and things will be merged into one record).
Is there any way to avoid this (other than them clearing the cookies, obviously).
]]>The WordPress integration is successfully registering new contacts from the WordPress site in Mautic, however, it is not updating their name and email fields.
For example, when browsing the WordPress site, each of the page hits for the contact is logged in Mautic.
However, even though they are logged into the WordPress site, their name and email fields (in Mautic) are blank.
]]>I have the plugin installed on my website (mystartupsherpa.com — currently in maintenance mode) and have it linked to my mautic installation (outreach.mystartupsherpa.com). Using the short code I am able to embed a form on the site. When I press submit, the form hangs (though it does submit to mautic) and the following error shows up in the console: Refused to display 'https://my-mautic-instance.com/form/submit?formId=1' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Any help would be appreciated. I have attempted to modify the .htaccess file on my mautic instance based on some threads on various forums and have yet to find something that works.
]]>Mautic Focus Items could be an excellent way to add a content locker to your site (require users to subscribe to a list to read a post). However, it doesn’t appear that there is a way in the UI to remove click to close.
Yes, you can use CSS to hide the close element, but users can still click into the background to close the Focus Item.
Has anybody modified the code to remove the click to close?
]]>Thanks for providing this plugin.
I’m seeing some unexpected behaviour. Mautic is generating multiple contact records with the same IP. Also – when a contact submits a form and becomes known the previous tracking record (with the same IP) is not merged into the new known contact. I understood that this is what Mautic is supposed to do.
I have tracking through the plugin set for the footer of the page – could this be causing multiple duplicate IP entries? and the failure to merge into one?
Thanks for any advice
]]>**Your software**
My Mautic version is: 2.16.2
My PHP version is: 7.2.30
**Your problem**
My problem is: I am using Mautic for test purpose based on my environment Nginx, MariaDB and Letsencrypt and HSTS options from WordOps( like EasyEngine V3, simple Nginx configuration command) in the subfolder environment. For the first time, I have mtc.js 404 error, but I solve when I install Mautic in the subfolder. My Nginx knowledge is limited, so I am keep searching whenever I meet the error.
When I insert the form using Mautic wordpress plugin to my existing WordPress site in the same VPS, I found the following error. I can collect e-mail successfully, but when a test user(me) input e-mail, website doesn’t show any message.
I guess it is not Mautic problem, but I don’t know how Mautic work, so I need some comments or opinion. What should I consider to solve this problem?
These errors are showing in the log:
[Error] Failed to load resource: the server responded with a status of 404 () (mautic-form.js, line 0)
[Error] Refused to execute https://www.com/mautic/index.php/media/js/mautic-form.js as script because “X-Content-Type: nosniff” was given and its Content-Type is not a script MIME type.
I am confusing Mautic, Nginx configuraiton, WordOps basic configuration which one make problem or combination of these programs. I am keep changing the configuration, but anything couldn’t help. When I couldn’t use mautic properly in this time, I have to consider other solution. Sorry.
Steps I have tried to fix the problem:
Here is my some setting for using Mautic for subfolder.
> server {
>
>
> server_name xxx.com https://www.xxx.com;
>
>
> access_log /var/log/nginx/xxx.com.access.log rt_cache;
> error_log /var/log/nginx/xxx.com.error.log;
>
>
> root /var/www/xxx.com/htdocs;
>
> index index.php index.html index.htm;
>
>
> include common/php72.conf;
>
> include common/wpcommon-php72.conf;
> include common/locations-wo.conf;
> include /var/www/xxx.com/conf/nginx/*.conf;
>
> ##Mautic configuration Start
>
> location ^~ /mautic {
> alias /var/www/xxx.com/mautic;
> try_files $uri $uri/ @mautic;
>
> location ~ \.php {
> fastcgi_pass php72;
> fastcgi_split_path_info ^(.+\.php)(.*)$;
> include /etc/nginx/fastcgi_params;
> }
>
> }
>
> location @mautic {
> rewrite /mautic/(.*)$ /mautic/index.php?/$1 last;
> }
>
> ##Mautic Configuraiton End
>
>
> }
Here is my /etc/nginx/common/php72.conf
>## Original WordOps configuration Start
>
> location / {
> try_files $uri $uri/ /index.php$is_args$args;
> }
> location ~ \.php$ {
> try_files $uri =404;
> include fastcgi_params;
> fastcgi_pass php72;
> }
> ## Original WordOps configuration End
>
> ## I add this configuration for mautic-form.js but didn’t work
>
> location ~ /mautic/index.php/media/js/mautic-form.js {
> more_set_headers ‘Access-Control-Allow-Origin : *’;
> default_type “application/javascript”;
> try_files $uri /index.php?$args @phpstream;
> }
>
> location @phpstream {
> include fastcgi_params;
> fastcgi_pass php72;
> }
When i am creating a popup for mautic form with elementor popup builder.
everything works fine for logged in users. but for logged out users the popup fails and we have th form below the footer. without even clicking on the popup button.
Can you let me know what can be done here ?
Please refer to these Images : https://imgur.com/a/Pw2KeLP
Tried clearing all cache and even removing caching plguins too.
]]>WPMautic is correctly registering page views however no contact info is added if the tracked user logs on.
The strange thing is that I can see that a request is done to /mtc/event with parameters like the following
page_title=Mitt%20konto%20%7C%20TEST&page_language=en-US&page_referrer=www.oursite.com&page_url=https%3A%2F%2Fwww.oursite.com%2Fkonto%2F&counter=0&mautic_device_id=nqg2045coy3bu4g21qubcxo&[email protected]&firstname=Jens&lastname=Olsson&wp_user=jens&wp_alias=Jens%20Olsson&wp_registration_date=2017-09-04&resolution=2560×1440&timezone_offset=-120&platform=MacIntel&do_not_track=unknown&adblock=false&fingerprint=db655ade23e8bf50041da9317a42eaba
I also get a response like this:
{
“success”: 1,
“id”: 1,
“sid”: “nqg2045coy3bu4g21qubcxo”,
“device_id”: “nqg2045coy3bu4g21qubcxo”,
“events”: [
false
]
}
But nothing happens with the anonymous contact in Mautic.
Any ideas on where to troubleshoot?
Kind regards
Jens
Hi
I am just setting up my first mautic instance. I use a reverse proxy via apache to add https while mautic internally uses http.
I noticed i got no tracking and i can see in inspector that /mtc/event returns success: 0
I have looked in the mautic log and in the pho error log and cannot find any hint to why this is.
If anyone can suggest where I should look it would be very appreciated
Kind regards
Jens
I have a problem with mautic tracking users efficiently on my WordPress
I have a campaign for email verification where I move a user who arrives at a particular page after clicking the link in the email to the verified email segment and this works when it likes or if user clicks link in email twice.
Now i was wondering can this plugin help me to send proper user tracking to mautic???
I have setup mautic and made a form field that has id 1. I have configured the plugin correctly with mautics url and tried to add the shortcode a few places. But nothing appears.
How can I troubleshoot this?
]]>I am getting 404 when I try to go to the setting page of the WP Mautic plugin. I already tried to reinstall it and restore permissions. Any suggestions on what could I do? The plugin works great on other websites.
Thank you.
Vasja
Mautic adds a ‘settings’ link to every plugin on the plugins page. The following code (from line 51 of wpmautic.php on V2.3.0) does not check what plugin entry is being checked, so every installed plugin gets an entry to /wp-admin/options-general.php?page=wpmautic
/**
* Settings Link in the 'Installed Plugins' page
*
* @param array $links array of plugin action links.
*
* @return array
*/
function wpmautic_plugin_actions( $links ) {
if ( function_exists( 'admin_url' ) ) {
$settings_link = sprintf(
'<a href="%s">%s</a>',
admin_url( 'options-general.php?page=wpmautic' ),
__( 'Settings' )
);
// Add the settings link before other links.
array_unshift( $links, $settings_link );
}
return $links;
}
add_filter( 'plugin_action_links', 'wpmautic_plugin_actions', 10, 2 );
]]>
when activating wp mautic plugin in version 2.2.2 in WordPress 5.3.2 the following error appears:
Fatal error: Cannot redeclare wpmautic_settings () (previously declared in /home/u576227630/domains/investiweb.com.br/public_html/wp-content/plugins/mautic-wordpress-master/wpmautic.php:40) in / home / u576227630 /domains/investiweb.com.br/public_html/wp-content/plugins/wp-mautic/wpmautic.php on line 49
I wonder if anyone knows how to solve?
]]>Suppose I added a custom user field to the user profile to collect the WordPress user’s phone number.
I want to update that to a custom mautic field (maybe call it sitephonenumber).
If the field “WordPress Phone” exists in WordPress User Fields, how do I pass it to the Mautic Field “sitephonenumber”?
]]>Hi
Because of GDPR we must have the approval to insert any JS. So we use a WordPress plugin that insert 3rd party JS tracking depending on the choice of the user.
Would it be possible to add a checkbox in the plugin options to insert or not the tracking code? That way this tracking code is injected by our GDPR WordPress plugin.
For now I just commented out your code in the file wpmautic.php like this, but it’s not a good idea…
function wpmautic_inject_script() {
$base_url = wpmautic_option( 'base_url', '' );
if ( empty( $base_url ) ) {
return;
}
$attrs = wpmautic_get_tracking_attributes();
?>
<!--
<script type="text/javascript">
(function(w,d,t,u,n,a,m){w['MauticTrackingObject']=n;
w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)},a=d.createElement(t),
m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m)
})(window,document,'script','<?php echo esc_url( $base_url ); ?>/mtc.js','mt');
mt('send', 'pageview'<?php //echo count( $attrs ) > 0 ? ', ' . wp_json_encode( $attrs ) : ''; ?>);
</script>
-->
<?php
}
Thanks
]]>Hey, I’m tring to track user by smart url with this plugin, but dont work.
Is it possible track user passing parameter in url (eg.: anota.ai/[email protected]) with this plugin?
]]>Hello,
We are using Self-Hosted Mautic v2.14.2 and WP-Mautic Version 2.2.2 for our wordpress site https://www.zotezo.com. We have no clue why we are getting huge number of 404 URLs like https://our-mautic-url.com/index.php/mtracking.gif?page_title=India’s%20Online%20Health%2C%20Beauty%2C%20Fitness%20%26%20Wellness%20Destination%20%7C%20Zotezo.com&page_language=en-US&page_referrer=&page_url=https%3A%2F%2Fwww.zotezo.com%2F&counter=0&resolution=1367×862&timezone_offset=420&platform=Linux%20x86_64&do_not_track=unknown&adblock=false&fingerprint=7974efabdac48306ee395de5d68a8cc1
Hi people. I am trying to make Dynamic Content works with my wordpress site, but it keeps not working at all.
Can some one help me with it?
I create 3 dynamic content (Welcome – Default – Unknown) and for each i set the option “Is campaign based” to true.
I created a campaign named “Welcome” and selected my segment (All Contacts).
I added a “Request Dynamic Content” with the following options:
1 – Name=Content1 Field Name
2 – Request Slot Name: slot1
3 – Select Default Content: Default
Also, I added on the + side of the “Request Dynamic Contact” a conditional option to see if the name is not empty.
If that condition is match, I added a “Push Dynamic Content” with the following options:
Name: Welcome
Select Dynamic Content: Welcome
And if is not match, I added a “Push Dynamic Content” with the following Options:
Name: Unknown
Select Dynamic Content: Unknown
On my wordpress site i added the shortcode:
[mautic type=”content” slot=”slot1″]Some default content to show.[/mautic]
The result of it is allways the text above “Some default content to show.”
I try to fill out a form before access wordpress site withy no luck.
What i am doing wrong?
Trying to settings up the plug-in but facing issue with mautik url and site URL. I think Site url should auto populate but in my case it didn’t.
Need help !!
]]>