-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amplitude is not defined #494
Comments
Hi @kunjan97, thanks for submitting an issue. Can you provide a code snippet so we can assess this issue further? |
In Index.html <script src="./assets/js/amplitude.js"></script>I have Loaded Amplitude-js like this. And I have use Amplitude service for log event and user property events import { Injectable } from '@angular/core'; @Injectable({ constructor() { public initAmplitude() { public logEvent(eventName, eventValue) { public setAmplitudeUserId(userId) { public setUserProperties(user) { |
Hey @kunjan97, you mentioned this is angular SSR. Does |
Hi All, |
I have use amplitude-js in angular ssr but it gives me error like this
amplitude is not defined
If have any suggestion Please help me out.
The text was updated successfully, but these errors were encountered: