pages.dev site reported as non-proxied
On the web analytics page
The site in question is gnxi.srlinux.dev
10 Replies
so the question is how come pages.dev hosted site can be rendered as non-proxied
The icon is confusing
it doesn't mean non-proxied, it just means it isn't automatically inserted
And I wonder why is that? What makes this site/pages be ineligible for automatic insertion of a tracking link?
Problem is that even when I added the tracking JS script to my site I don't get any metrics reported (it's been more than a couple of days)
not sure how to interpret the note, but here is the dns setting for this domain name I use
okay, another redeployment seemed to help
now I see both pages.dev domain as well as my custom domain
and stats started to show up.
I still wonder why the pages.dev site was not eligible for auto provisioning of web metrics collection, but I can live with that
Did you previously use that domain at another provider?
It's eligible we just manually inject it on the Pages side
So it's automatic just Pages explicitly does it instead of it being done on the fly by Cloudflare generally
what is considered a domain here? the gnxi.srlinux.dev domain was not used with other providers besides Pages
Interesting
It makes sense for that note to show for Pages, I just wasn't aware we did.
May need to change the wording though.
I hoped that for pages.dev hosted site I wouldn't need to inject the JS tracker manually.
And the reason I thought I wouldn't need it is because I added srlinux.dev website to the Web analytics and it started to automatically report metrics for one of subdomains - learn.srlinux.dev - which is, interesting enough - still hosted on github pages. Still, the metrics come just nicely.
I don't know, but maybe it is because learn.srlinux.dev is a static site and gnxi.srlinux.dev is a Svelte site, but it is all curious
You don't
We will inject it if you one-clicked enable through the Pages dash
Oh if you're SSRing then yeah that'll also do it
You'd need to manually there since we can't