Open LukSteib opened 2 years ago
check domain config for plausible in nuxt config
@valiafetisov can you have a look into that one
[ ] check
domain
config for plausible in nuxt config
We use the environment variables called PRODUCTION_DOMAIN
, which should be correctly set in the secrets.
https://github.com/sidestream-tech/unified-auctions-ui/blob/main/frontend/nuxt.config.js#L69
I verified this by checking the network activity on the production site. As you can see it sends the correct url to plausible.
Therefore you would only need to add the domain in the plausible dashboard, everything in this repo will continue to work!
Based on the screenshot of the request payload and trying different configs via the plausible dashboard, following suspicion:
I have to setup plausible dashboard for production.auction-ui.k8s.sidestream.tech
in order to see traffic on unified-auctions.makerdao.com
.
Does that sound feasible to you?
Does that sound feasible to you?
It is sadly the exact opposite way around. You need to add unified-auctions.makerdao.com
to the plausible dashboard. If you look at my screenshot, I assume the following is happening:
d = docker container name u = public url
Plausible works through the public domain, which is why it should work if you use the domain for the auctions-ui.
Goal: Ensure proper plausible based tracking for new domain
Context: After switching to the new domain
unified-auctions.makerdao.com
we need to adjust plausible.io settings as well. I have a feeling that adjustments need to be made in two places a) the plausible dashboard itself where a new site needs to be created (no need to migrate old analytics since data is either way only kept for 30days in plausible) b) ensure that nuxt config uses correct domainTasks:
unified-auctions.makerdao.com
in plausible dashboarddomain
config for plausible in nuxt config