Open
Description
Hi,
I started having issues with next-plausible after I updated to next-13.5.6.
After npm run dev
already gave me an error for next.config.js, I updated next-plausible to 3.11.2 according to #104.
The build error disappeared but Plausible still doesn't show me any requests.
Here is what the browser console says for my production site:
Failed to load resource: the server responded with a status of 500 ()
(in Google Chrome)
Loading failed for <script> with source .../script.outbound-links.js
(in Firefox)
next-config.js (Has been working until I updated to next-13.5.6)
/** @type {import('next').NextConfig} */
const { withPlausibleProxy } = require('next-plausible');
const nextConfig = {
};
module.exports = withPlausibleProxy()(nextConfig);
_app.js (has been working until I updated to next-13.5.6)
import '../styles/global.css';
import PlausibleProvider from 'next-plausible';
import {ubuntu, neuton, norican} from '../src/utils/fonts';
import environmentVariables from "../components/environment-variables";
export default function App({ Component, pageProps }) {
const plausibleDomain = environmentVariables.plausibleDomain;
return (
<PlausibleProvider domain={plausibleDomain} trackOutboundLinks="true">
<div className={`${ubuntu.variable} ${neuton.variable} ${norican.variable}`}>
<Component {...pageProps} />
</div>
</PlausibleProvider>
)
}
Metadata
Assignees
Labels
No labels
Activity