Skip to content

Commit

Permalink
Migrate from Google Analytics to Plausible
Browse files Browse the repository at this point in the history
Google Analytics has worked well for many years, but Google is focused on sales, is too invasive, and causes GDPR headaches. Plausible.io is privacy-centric, providing the core site stats I'd like, while eliminating GDPR concerns since it doesn't collect any private information.
  • Loading branch information
pipwerks committed Apr 22, 2024
1 parent f64e995 commit fb04bdb
Show file tree
Hide file tree
Showing 78 changed files with 1,994 additions and 283 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/apostrophe-in-filename.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/base64.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/conditional-js-advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/conditional-js.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/custom-attribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/declining-a-fallback.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/deprecated/redirect-302.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/detection.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/embed-multiple-PDFs.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/full-browser-default.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>
</head>

<body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/full-browser-explicit.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/google.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/omit-inline-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/onload-callback.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/passing-element-jquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/passing-element-styled.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/passing-element.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/passing-selector-styled.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/passing-selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/pdf-open-params.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<!-- <script async src="/js/analytics.js"></script> -->
<!-- <script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script> -->

<style>
/* basic page styling */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/pdfjs-forced.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/pdfjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/querystring-URL.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/setting-title.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/dist/examples/specifying-page-number.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
24 changes: 18 additions & 6 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
import DefaultTheme from 'vitepress/theme'
import CustomLayout from './CustomLayout.vue'
//import PDFObjectPlugin from 'pdfobject-vue';
import DefaultTheme from "vitepress/theme";
import CustomLayout from "./CustomLayout.vue";
import { createPlausible } from "v-plausible/vue";

const plausible = createPlausible({
init: {
domain: "pdfobject.com",
trackLocalhost: true,
},
settings: {
enableAutoOutboundTracking: true,
enableAutoPageviews: true,
},
partytown: false,
});

export default {
extends: DefaultTheme,
// override the Layout with a wrapper component that
// injects the slots
Layout: CustomLayout,
enhanceApp({ app }) {
//app.use(PDFObjectPlugin);
}
}
app.use(plausible);
},
};
2 changes: 1 addition & 1 deletion docs/public/examples/apostrophe-in-filename.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/public/examples/base64.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
2 changes: 1 addition & 1 deletion docs/public/examples/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<!-- site analytics for pdfobject.com, do not copy into your code -->
<script async src="/js/analytics.js"></script>
<script defer data-domain="pdfobject.com" src="https://plausible.io/js/script.js"></script>

<style>
/* basic page styling */
Expand Down
Loading

0 comments on commit fb04bdb

Please sign in to comment.