How to customize this analytics provider #264
Unanswered
akiranguyenvni
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi there,
Thank you a lot for sharing great tool for analytics.
I would like to utilize your analytics-provider with modification for storing data into personal server instead of google-analytics.
Therefore I re-code your component. But I got problem that, my modified-AnalyticsProvider doesn't have properties: onInitalize, onPageView, onClick,...
It deliver error:
Type '{ children: never[]; onInitialize: () => void; client: any; }' is not assignable to type 'IntrinsicAttributes & AnalyticsProviderProps'. Property 'onInitialize' does not exist on type 'IntrinsicAttributes & AnalyticsProviderProps'when I add tag:
Hence, How can I do to let NextJs project can acknowledge properties: onInitialize, ... of AnalyticsProvider?
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions