bookish-press 0.5.73 → 0.5.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,16 +4,18 @@ $: id = gtagid ?? 'G-BGFDV229BN';
4
4
  </script>
5
5
 
6
6
  <svelte:head>
7
- <script async src="https://www.googletagmanager.com/gtag/js?id={id}">
8
- </script>
9
- <script>
10
- window.dataLayer = window.dataLayer || [];
7
+ <script
8
+ async
9
+ src="https://www.googletagmanager.com/gtag/js?id={id}"
10
+ ></script>
11
+ {@html `<script>
12
+ window.dataLayer = window.dataLayer || [];
11
13
 
12
- function gtag() {
13
- dataLayer.push(arguments);
14
- }
14
+ function gtag() {
15
+ dataLayer.push(arguments);
16
+ }
15
17
 
16
- gtag('js', new Date());
17
- gtag('config', id);
18
- </script>
18
+ gtag('js', new Date());
19
+ gtag('config', "${id}");
20
+ </script>`}
19
21
  </svelte:head>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bookish-press",
3
3
  "private": false,
4
- "version": "0.5.73",
4
+ "version": "0.5.75",
5
5
  "type": "module",
6
6
  "description": "A platform for reading and writing readable, accessible, beautiful online books.",
7
7
  "license": "MIT",