# Tracking works with locahost, but not after pushing to AWS

**URL:** https://forum.mautic.org/t/tracking-works-with-locahost-but-not-after-pushing-to-aws/27966
**Category:** Product Support
**Created:** [May 10, 2023, 12:38am UTC](https://forum.mautic.org/t/tracking-works-with-locahost-but-not-after-pushing-to-aws/27966 "2023-05-10T00:38:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![adrianr1974](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adrianr1974/32/6591_2.png) [@adrianr1974](https://forum.mautic.org/u/adrianr1974)
#### Post date: [May 10, 2023, 12:38am UTC](https://forum.mautic.org/t/tracking-works-with-locahost-but-not-after-pushing-to-aws/27966/1 "2023-05-10T00:38:07Z")

</div>

**Your software**  
My Mautic version is: 4.47  
My PHP version is: 7.4  
My Database type and version is: MySQL 5.7.41

**Your problem**

I have added a tracking script to the website that I want to track. The tracking works when I log onto the localhost:1313 version. But after pushing my changes to AWS, then going to the URL of the site, the tracking does not work. Why is this the case? What setting(s) needs to changed?

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [May 10, 2023, 7:56am UTC](https://forum.mautic.org/t/tracking-works-with-locahost-but-not-after-pushing-to-aws/27966/2 "2023-05-10T07:56:18Z")

</div>

Hello,  
Are Mautic and your website the same domain?  
Joey

---

<div class="post-metadata">

### Author: ![adrianr1974](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adrianr1974/32/6591_2.png) [@adrianr1974](https://forum.mautic.org/u/adrianr1974)
#### Post date: [May 10, 2023, 8:11pm UTC](https://forum.mautic.org/t/tracking-works-with-locahost-but-not-after-pushing-to-aws/27966/3 "2023-05-10T20:11:25Z")

</div>

No. The name of the website (not the actual name, but an example) is [https://sparklinerisk.com](https://sparklinerisk.com). On GoDaddy my manager purchased a domain called [sparklinerisk.co](http://sparklinerisk.co). I added a subdomain to it and called it mautic. So my Mautic URL is [mautic.sparklinerisk.co](http://mautic.sparklinerisk.co)., and I am trying to track [https://sparklinerisk.com](https://sparklinerisk.com).
