mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-27 12:13:53 +00:00
website: Use plausible instead of google analytics (#3567)
* Use plausible instead of google analytics * remove Saucelabs badge, correct copy about browser support
This commit is contained in:
parent
2b2df8c109
commit
ebeb314a29
8 changed files with 6 additions and 35 deletions
|
|
@ -151,11 +151,7 @@ The ⓒ mark means that [`@uppy/companion`](https://uppy.io/docs/companion), a s
|
|||
|
||||
## Browser Support
|
||||
|
||||
<a href="https://saucelabs.com/u/transloadit-uppy">
|
||||
<img src="https://saucelabs.com/browser-matrix/transloadit-uppy.svg" alt="Sauce Test Status"/>
|
||||
</a>
|
||||
|
||||
We aim to support recent versions of Safari, Edge, Chrome, Firefox and Opera.
|
||||
We aim to support recent versions of Chrome, Firefox, Safari and Edge.
|
||||
|
||||
We still provide a bundle which should work on IE11, but we are not running tests on it.
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
## Source: https://github.com/tommy351/hexo/
|
||||
|
||||
# Theme
|
||||
google_analytics: UA-63083-12
|
||||
root_domain: uppy.io
|
||||
|
||||
# Site
|
||||
|
|
|
|||
|
|
@ -147,11 +147,9 @@ You can also use a pre-built bundle from Transloadit’s CDN: Edgly. `Uppy` will
|
|||
|
||||
## Browser Support
|
||||
|
||||
<a href="https://saucelabs.com/u/transloadit-uppy">
|
||||
<img src="https://saucelabs.com/browser-matrix/transloadit-uppy.svg" alt="Sauce Test Status"/>
|
||||
</a>
|
||||
We aim to support recent versions of Chrome, Firefox, Safari and Edge.
|
||||
|
||||
We aim to support recent versions of Safari, Chrome, Firefox, and Opera.
|
||||
We still provide a bundle which should work on IE11, but we are not running tests on it.
|
||||
|
||||
### Polyfills
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ if (page.series) {
|
|||
<% } %>
|
||||
</main>
|
||||
|
||||
<%- partial('partials/ga') %>
|
||||
<%- partial('partials/analytics) %>
|
||||
|
||||
<% if (!isIndex) { %>
|
||||
<script src="/js/smooth-scroll.min.js"></script>
|
||||
|
|
|
|||
1
website/themes/uppy/layout/partials/analytics.ejs
Normal file
1
website/themes/uppy/layout/partials/analytics.ejs
Normal file
|
|
@ -0,0 +1 @@
|
|||
<script defer data-domain="<%- config.root_domain %>" src="https://analytics.transloadit.com/js/plausible.js"></script>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', '<%- config.google_analytics %>', '<%- config.root_domain %>');
|
||||
ga('set', 'anonymizeIp', true);
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
|
|
@ -41,10 +41,4 @@
|
|||
|
||||
<h2 id="browser-support">Browser Support</h2>
|
||||
|
||||
<p>
|
||||
<a href="https://saucelabs.com/u/transloadit-uppy">
|
||||
<img src="https://saucelabs.com/browser-matrix/transloadit-uppy.svg" alt="Sauce Test Status"/>
|
||||
</a>
|
||||
</p>
|
||||
<p>We currently aim to support IE11+ and recent versions of Safari, Edge, Chrome, Firefox and Opera.</p>
|
||||
<p>We still run end to end tests with IE10, but we are not actively supporting it or fixing visual / minor issues.</p>
|
||||
<p>We aim to support recent versions of Chrome, Firefox, Safari and Edge. We still provide a bundle which should work on IE11, but we are not running tests on it.</p>
|
||||
|
|
|
|||
|
|
@ -9,11 +9,4 @@ allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"><
|
|||
<a href="https://github.com/transloadit/uppy/actions"><img src="https://github.com/transloadit/uppy/workflows/End-to-end%20tests/badge.svg" alt="Build Status"></a>
|
||||
</span>
|
||||
</li>
|
||||
<li class="SauceBadge">
|
||||
<span class="wrapper">
|
||||
<a href="https://saucelabs.com/u/transloadit-uppy">
|
||||
<img src="https://saucelabs.com/buildstatus/transloadit-uppy" alt="Sauce Test Status"/>
|
||||
</a>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue