Skip to main content

We're experiencing an issue where Amplitude event tracking is not working in certain browsers, but it works fine in incognito mode.

  • We installed and tested the Amplitude Chrome extension, but no logs are being recorded.
  • We attempted to replicate the issue in our local environment, but it works fine both locally and in incognito mode.
  • We verified that:
    • JavaScript is enabled.
    • Cookies (including third-party cookies) are enabled.
  • We manually triggered amplitude.logEvent() and expected an XHR request in the network tab. However, in the affected browsers, no request is sent.

Observations:

  • No console errors appear.
  • Amplitude cookies are being set, but events are still not being logged.

 

we have also tried following 

  1. Remove any VPNs or Ad blockers
  2. Try a different internet
  3. Clear cache and cookies
  4. Update and restart your chrome/browser
  5. Restart laptop

Has anyone encountered a similar issue? Any insights would be appreciated.

Hi Saad,

Thank you for contacting Amplitude Support. Happy to help!
Jake here.

Have you tried using the chrome browser extension to see if the event is sending?

- https://chromewebstore.google.com/detail/amplitude-event-explorer/acehfjhnmhbmgkedjmjlobpgdicnhkbp

If so whats the URL that the issue is occurring? I can try to reproce the issue on my end!

Best regards,
Jake


P.S. Checkout upcoming events and user meetups on our events page.
Hi Saad,

Thank you for the additional details and for sharing the URL. I’ve attempted to replicate the issue on my end, but unfortunately, I wasn’t able to duplicate the behavior you’re experiencing.

To help us investigate further, could you record the network activity in the browser’s developer tools when the issue occurs? Specifically, please check for any failed requests or errors in the network tab and share those details with us. This will provide valuable insights into what might be causing the problem.

Additionally, I noticed that you mentioned using the `logEvent` API. Please note that this API is outdated, and we recommend transitioning to the `track` API for event tracking. The `track` API offers improved functionality and is better suited for current implementations. You can find more details about the `track` API in our documentation.

- https://amplitude.com/docs/sdks/analytics/browser/browser-sdk-2#track-an-event
- https://amplitude.com/docs/sdks/analytics/react-native/migrate-to-the-latest-react-native-sdk#logevent

Let me know if you’re able to capture the network activity or if you have any questions about updating to the `track` API. I’m here to assist further!

Best,
Jake
Amplitude Customer Support


P.S. Checkout upcoming events and user meetups on our events page.

Reply