Comments (7)
I'll add an option for it.
from pirsch.
I have added three new options for the scripts that will be made available later today:
- data-disable-query
- data-disable-referrer
- data-disable-resolution
You can simply add them to the script like this:
<script defer type="text/javascript" src="https://api.pirsch.io/pirsch.js"
id="pirschjs"
data-code="YOUR_IDENTIFICATION_CODE"
data-disable-query></script>
from pirsch.
Thank you so much for this @Kugelschieber
We really appreciate that you are open to making this change and for rolling it out so quickly.
from pirsch.
The easiest method to do that would be to copy the JS snippet and remove the parameters from the URL that's sent to us here: https://github.com/pirsch-analytics/pirsch/blob/master/js/pirsch.js#L88
You would then have to host the JS file yourself. I would recommend minifying it as we do in the package.json
.
Here is a replacement for line 88 that will remove all query parameters:
"&url=" + encodeURIComponent((location.href.includes('?') ? location.href.split('?')[0] : location.href).substring(0, 1800)) +
from pirsch.
Although we can make this change (we would also omit referrer
) we would prefer not to host our own version.
As an agency we have projects that can last for ±10 years.
The benefit of a hosted snippet for Pirsch is that it can be updated by you in case there is an API change.
We are looking for a low maintenance and maximally compliant service to gather minimal usage statistics.
from pirsch.
What's the reason for this feature request? You could also just ignore the UTM panels on the dashboard. I would rather not inflate the script with too many configuration options.
Also, we don't make API-breaking changes. Should we ever rebuild the page view endpoint, we would publish it as /api/v2/...
instead of replacing the current one.
from pirsch.
the removal of any parameters contained in the collected URLs (e.g. UTMs, but also URL parameters allowing internal routing of the site);
This guideline is why we would like not to send any query params to any 3rd party.
from pirsch.
Related Issues (20)
- Goatcounter HOT 2
- Support avg session duration for events
- Check Android app referrer mapping
- Android app mapping HOT 1
- Adding Event metadata to CSV exports HOT 4
- Group filters + AND operator
- Escaped domains under `Referrers`. HOT 6
- Parse ref parameters and UTM source
- Improved Bot Filter
- Shorten strings UTF-8
- Remove User-Agent table HOT 1
- Visual bug when lists get long HOT 2
- Improve browser detection HOT 1
- Time shift page views grouped by hour
- Custom Events not triggered HOT 8
- Optimize conversion goals
- Export Raw Data from Pirsch HOT 4
- Sampling for time queries
- Exclude Crawlergo
- How to run it locally? HOT 6
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 pirsch.