# Tracking Script on CloudFront Served Websited

**URL:** <https://forum.mautic.org/t/tracking-script-on-cloudfront-served-websited/33921>\
**Category:** Product Support\
**Created:** [October 24, 2024, 2:27am UTC](https://forum.mautic.org/t/tracking-script-on-cloudfront-served-websited/33921 "2024-10-24T02:27:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryan.rad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ryan.rad/32/12603_2.png) [@ryan.rad](https://forum.mautic.org/u/ryan.rad)\
**Post date:** [October 24, 2024, 2:27am UTC](https://forum.mautic.org/t/tracking-script-on-cloudfront-served-websited/33921/1 "2024-10-24T02:27:42Z")

</div>

**Your software**  
My Mautic version is: mautic/mautic:5-apache \*\*docker compose distribution  
My PHP version is: 8.1.28  
My Database type and version is: mySQL 8.0.40

**Your problem**  
My problem is:

I’m running a docker-compose distribution of Mautic on an AWS EC2 served over Nginx with certbot SSL for the endpoint [marketing.brainandspinegroup.org](http://marketing.brainandspinegroup.org)

I’ve embedded our tracking script in our Shopify theme ([shop.brainandspinegroup.org](http://shop.brainandspinegroup.org)) and that is working as expected (very nicely I might add). However, embedding the script on our landing page ([brainandspinegroup.org](http://brainandspinegroup.org)) is not tracking. That page is a standard html/css/js single page in an S3 bucket served over HTTPS through a Cloudfront distribution. Any ideas how I might get the tracking script working? I don’t have any CORS restrictions or domain restrictions configured at the moment, so I anticipate that Mautic should be able to accept incoming requests from anywhere. Any help or guidance would be appreciated, there aren’t any error logs to work off of here.
