Your software
My Mautic version is: v3.3.2
My PHP version is: 7.4.12
My Database type and version is: mysqlnd 7.4.12
Your problem
My problem is:
The Tracking on my local Mautic is not working at all and it also doesn’t register when an Email is opened. The tracking script however is correct.
when you say local Mautic, are you refering to your local machine?, is it accessible by people over the internet?
what is the url you are providing in the tracking code? the url that would replace:(http(s)://yourmautic.com/mtc.js)
<script>
(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','http(s)://yourmautic.com/mtc.js','mt');
mt('send', 'pageview');
</script>
you can also take a look at the pages you are tracking with this code , if there is an error loading mtc.js
ekke
April 28, 2021, 6:34am
3
For Mautic to do tracking on localhost, you need to set it up in dev mode:
This article will guide you through setting up Mautic locally for use and for development.Setting up your local environment. A basic knowledge of Terminal is good, although you should be able to follow along, as the commands are all fairly simple....
Best,
Ekke
1 Like
Misunderstanding guys, sorry my bad.
Local, I mean, self hosted :s
ekke
April 29, 2021, 4:25am
5
Hi @bunce69 ,
I’m confused, can you explain? Do you have a related question yourself?
Ekke