Sending events in the render function #1172
Unanswered
JakeSCahill
asked this question in
Q&A
Replies: 3 comments
-
I'm trying to follow this: https://www.algolia.com/doc/ui-libraries/autocomplete/guides/sending-algolia-insights-events/#send-events-from-templates |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm also seeing this in the logs:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Here's a preview: https://deploy-preview-63--docs-ui.netlify.app/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using
render()
in my autocomplete instance to customize the display. I want to be able to send events from this customized template. However, I always getUncaught Error: Before calling any methods on the analytics, you first need to call the 'init' function with appId and apiKey parameters or provide custom credentials in additional parameters.
.Events are working fine outside of the
render()
function.Beta Was this translation helpful? Give feedback.
All reactions