timlrx / pliny

Create content rich websites with ease - built on next.js, contentlayer and tailwindcss
MIT License
293 stars 42 forks source link

Add Swetrix Analytics component #173

Open Blaumaus opened 4 months ago

changeset-bot[bot] commented 4 months ago

⚠️ No Changeset found

Latest commit: 0918aa54562451f01be2aa8faa537882d9aa2bc1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

timlrx commented 3 months ago

Thanks for the contribution! Looks good to me, but I will try an actual integration before merging

Blaumaus commented 3 months ago

Thanks for the contribution! Looks good to me, but I will try an actual integration before merging

Sure, let me know if you'll have any question regarding the integration :)

timlrx commented 2 months ago

@Blaumaus I get the following error:

VM1991:9 Uncaught ReferenceError: swetrix is not defined
    at swetrixInit (<anonymous>:9:13)
    at <anonymous>:3:13
    at loadScript (script.js:140:19)
    at eval (script.js:154:59)

Network tab does show that Swetrix.js is downloaded though. Any idea what might be the issue?