How to specify referer when sharing url
I have a simple react app deployed in Pages and was looking at the "Web Analytics" page in the dashboard.
I am sharing this site in some discord servers and would like to have a way to know from which ones people are clicking the links more.
I tried sharing the url with
utm_source and utm_campaign but it doesn't seem to do anything.
Is there any specific query parameter which we can use to control this Referer section in the analytics dashboard?4 Replies
Web analytics does not (yet) support utm parameters - https://developers.cloudflare.com/web-analytics/faq/#does-cloudflare-web-analytics-support-utm-parameters
Cloudflare Docs
FAQs
Below you will find answers to our most commonly asked questions. If you cannot find the answer you are looking for, refer to the community page to explore more resources.
So there is no query param to control referer? How does it know one came from Google?
No, there is not. Cloudflare knows a visitor is coming from Google as they have Google in their
Referer header. You can't add that when adding links in discord, though. The only possible way I can think of is using subdomains on a per discord server base and redirecting to the actual domain (which would result in your subdomain being used as Referer).
Web analytics is a very basic analytic tool, you should consider using e.g. Matomo in case you need more precise tracking information.Yeah I don't "need" I was just trying to use what is available. Seems it isn't so thanks for the help