Comments (6)
You can add "utm_source", "ref", "src", or "source" as a query parameter, e.g. http://example.com?ref=term
. It will then show up as a referrers under that name:
If you also add "campaign" or "utm_campaign" it will also show up under campaigns under that name; for example for http://example.com?campaign=search&ref=term
and http://example.com?campaign=search&ref=other
:
Getting search terms from e.g. Google is a duplicate of #395 – I did look at this, but abandoned it for reasons I can't recall at the moment.
from goatcounter.
@arp242 unfortunately, I use fuse.js which uses /?query=
. So, I cannot control that. I don't care much for search terms, but rather how often the search form is used. Is there a way to append a custom parameter?
from goatcounter.
Is there a way to append a custom parameter?
You used to be able to, but I removed it as no one was using it to change the defaults, so now it's just a static list.
I don't mind adding something to that, but "query" is a very generic term so I'm a bit hesitant; I think that in most cases people probably don't want to use that as a referrer string.
Can't you change the data that's sent with JS? I think this example is probably fairly close to what you want? https://www.goatcounter.com/help/js#get-query-name-2
from goatcounter.
Can't you change the data that's sent with JS? I
Good point. I am not a dev, but I looked at the JS called doing the search and the dev who wrote it added the query thing there. So, it is a matter of changing query
to something else. I tried const QUERY_URL_PARAM = 'campaign=search&ref';
but the =
and &
characters are escaped in the browser.
from goatcounter.
What's your website?
from goatcounter.
I am working on it with the dev who wrote the search code. If it fails (campaign), I will go with the referrer option.
from goatcounter.
Related Issues (20)
- User navigation as Sankey Diagram
- The gear icon in top right of dashboard appears behind the scroll bar on Firefox
- Question: Is it possible to see the full referring path? HOT 3
- How do I exclude my domain from the list of referrers HOT 4
- open for design updates? HOT 3
- TLS certs on goatcounter.com hosted service have expired (09-Apr-2024 23:59:59 GMT) HOT 5
- Multi-domain confusion HOT 1
- zgo.at and the lighthouse score (cache policy) HOT 3
- Should custom subdomain be used in the script? HOT 2
- site.cname already exists error
- Having both overall and per site statistics HOT 6
- Confusing naming for Import, Export/Import and export HOT 3
- Typo on help page HOT 1
- Connection refused - Hugo and MX Linux HOT 2
- [bug] /settings/delete-account renders sites without subdomains HOT 1
- No data received HOT 1
- The site cannot be reached
- Exporting data is not working as expected
- See on which pages an event was fired HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goatcounter.