You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading my site with Amplitude's Browser SDK 2 on Safari, I get the error:
null is not an object (evaluating 'a.args[f]._STUBBED_PLUGIN_NAME')
This prevents all events from being sent for that session. This seems to be happen most often in Safari, and it happens at random. It also happens more often if I use the Safari browser cache between refreshes.
I've yet to be able to reproduce this on Chrome.
Steps to Reproduce
I am using the following code to load Amplitude SDK:
Still happening. If I open my site on Safari and refresh 10 times with console open. One or two times, this error will be thrown. Probably some race condition. Please advise.
Expected Behavior
The Browser SDK should load reliably on Safari.
Current Behavior
When loading my site with Amplitude's Browser SDK 2 on Safari, I get the error:
null is not an object (evaluating 'a.args[f]._STUBBED_PLUGIN_NAME')
This prevents all events from being sent for that session. This seems to be happen most often in Safari, and it happens at random. It also happens more often if I use the Safari browser cache between refreshes.
I've yet to be able to reproduce this on Chrome.
Steps to Reproduce
I am using the following code to load Amplitude SDK:
NOTE: the
optOut
true is intentional as it is set manually later after cookie consent. The main issue here is that the SDK itself fails to load.Environment
<script type="text/javascript" src="https://cdn.amplitude.com/script/<%= amplitudeAppId %>.js"></script>
)The text was updated successfully, but these errors were encountered: