# What table contains website tracking hits

**URL:** <https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188>\
**Category:** Product Support\
**Created:** [February 1, 2018, 12:15pm UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188 "2018-02-01T12:15:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![billheit](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@billheit](https://forum.mautic.org/u/billheit)\
**Post date:** [February 1, 2018, 12:15pm UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188/1 "2018-02-01T12:15:06Z")

</div>

I am trying to set up website tracking using javascript tracking. When I brows the page, I can see in the browsers network log that my Mautic instance being called. But I don’t see any activity in the Mautic dashboard.

What table are website tacking hit written to in the database?

Bill

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [February 1, 2018, 12:49pm UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188/2 "2018-02-01T12:49:27Z")

</div>

Where you paste the code and what code you exactly paste ?

---

<div class="post-metadata">

**Author:** ![billheit](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@billheit](https://forum.mautic.org/u/billheit)\
**Post date:** [February 1, 2018, 1:51pm UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188/3 "2018-02-01T13:51:22Z")

</div>

I used the JavaScript copied from Configurations\> Tracking Settings.

I finally got it working on our production environment and found that it writes the page-hit to the page\_hits database table.

But why wouldn’t it work in my dev environment?

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [February 1, 2018, 1:55pm UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188/4 "2018-02-01T13:55:16Z")

</div>

where you paste… that script ?

---

<div class="post-metadata">

**Author:** ![billheit](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@billheit](https://forum.mautic.org/u/billheit)\
**Post date:** [February 1, 2018, 3:16pm UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188/5 "2018-02-01T15:16:47Z")

</div>

Just before the \</body\> tag in the page.

---

<div class="post-metadata">

**Author:** ![mpeet](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@mpeet](https://forum.mautic.org/u/mpeet)\
**Post date:** [February 3, 2018, 1:54pm UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188/6 "2018-02-03T13:54:15Z")

</div>

Hey Bill, any tips on how you got it working?

I’ve also included the script you referenced in my sites (Joomla based) template page, just before the closing body tag… nothing appears to be happening in my Mautic Dashboard when I visit the page, I have a Page views/visits dashlet. Would this have anything to do with the presence of the mtracking.gif file? I’ve seen it referenced a number of times, however, can’t find it in my Mautic instance. I’ve tried installing the Joomla Mautic plugin but that appears to be broken as well…

Any assistance gratefully accepted

---

<div class="post-metadata">

**Author:** ![mpeet](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@mpeet](https://forum.mautic.org/u/mpeet)\
**Post date:** [February 3, 2018, 2:22pm UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188/7 "2018-02-03T14:22:40Z")

</div>

Hey, just noted in my console that the script is being blocked, mixed content non https site (Mautic) to https site, will see what happens when I fix that probelm

---

<div class="post-metadata">

**Author:** ![billheit](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@billheit](https://forum.mautic.org/u/billheit)\
**Post date:** [February 5, 2018, 12:16pm UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188/8 "2018-02-05T12:16:21Z")

</div>

I was not able to get it working on my dev server; only on production.

---

<div class="post-metadata">

**Author:** ![petertl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/petertl/32/511_2.png) [@petertl](https://forum.mautic.org/u/petertl)\
**Post date:** [February 6, 2018, 4:58am UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188/9 "2018-02-06T04:58:18Z")

</div>

Marty, I had the same problem. My website hat HTTPS but my Mautic ran under HTTP without SSL. The tracking script was getting blocked due to “mixed content”. After I shifted my Mautic instance to HTTPS, it - again - went fine.

---

<div class="post-metadata">

**Author:** ![billheit](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@billheit](https://forum.mautic.org/u/billheit)\
**Post date:** [February 6, 2018, 10:39am UTC](https://forum.mautic.org/t/what-table-contains-website-tracking-hits/10188/10 "2018-02-06T10:39:36Z")

</div>

I wish that were the case. Both Mautic and my site are using HTTPS.
