Replies: 1 comment
|
The Plausible registry now supports this directly via useScriptPlausibleAnalytics({
scriptId: 'YOUR_SCRIPT_ID',
customProperties: { author: 'John Doe' },
})For per-event props, use the runtime API: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
According to Plausible doc, custom props are supposed to be in the script tag
<script defer event-author="John Doe" data-domain="yourdomain.com" src="https://plausible.io/js/script.pageview-props.js"></script>https://plausible.io/docs/custom-props/for-pageviews
How is that supposed to work with Nuxt Script?
Thanks!
All reactions