Wordpress duplicating url for mautic and doesn't work

Your software
My Mautic version is: the newest
My PHP version is: 7

Your problem
My problem is: I installed mautic on my client’s site. I tried by code and by plugin but there is the same problem. In console i can see bad url for mautic (and for example linkedin tracking). Instead of https://mc.ipcc.civ.pl/mtc.js/mtc.js i have site url + mautic url (or site url + linkedin url). Like on the screen:

And that’s why it’s not loading. How can I fix this in wordpress?

What are you trying to do exactly, are you saying your mautic tracking code isn’t loading properly in wordpres? If that is the case, you can use Head and Footer Scripts Inserter Plugin, at least that was the plug-in I used on my last project.


This is loading for me. Are you sure you added the right data to the Mautic URL in WP settings?