Currently (at least what I see) the tracking script uses the base domain for every website to be tracked.
.env file:
# Domain and URL Configuration
DOMAIN_NAME=rybbit.mydomain.com
BASE_URL="https://${DOMAIN_NAME}"
It would be great if this could be dynamic, so that tracking for website example.com would allow to use metrics.example.com even if the Rybbit base domain is still rybbit.mydomain.com. Off course, admins would have to make sure that traffic to metrics.example.com would then reach rybbit.mydomain.com using CNAME records, load balancers, etc...
Currently, you have to use for every website:
<script
src="https://rybbit.mydomain.com/api/script.js"
data-site-id="XYZ"
defer
></script>
Currently (at least what I see) the tracking script uses the base domain for every website to be tracked.
.envfile:It would be great if this could be dynamic, so that tracking for website
example.comwould allow to usemetrics.example.comeven if the Rybbit base domain is stillrybbit.mydomain.com. Off course, admins would have to make sure that traffic tometrics.example.comwould then reachrybbit.mydomain.comusing CNAME records, load balancers, etc...Currently, you have to use for every website: