Hello, everyone.
Thank you for your help about my previous post. And I have another problem and I’d like anyone to help me for fixing this problem.
As each event is transmitted, there are images captured in sequence. Please check the attached captures.





I have sent 5 different events to Amplitude and checked them through the logs. However, events are displayed incorrectly in Amplitude via above captures.
Sometime not displaying or sometime displaying…
Maybe I think this is problem from Amplitude configuration.
This is source code for sending events to Amplitude:
const sendEvent = async (event) => {<br /> try {<br /> const properties = {<br /> "[Amplitude] Page Domain":<br /> (typeof window.location !== 'undefined' && window.location.hostname) || '',<br /> "[Amplitude] Page Location":<br /> (typeof window.location !== 'undefined' && window.location.href) || '',<br /> "[Amplitude] Page Path":<br /> (typeof window.location !== 'undefined' && window.location.pathname) || '',<br /> "[Amplitude] Page Title":<br /> (typeof window.document !== 'undefined' && window.document.title) || '',<br /> "[Amplitude] Page URL":<br /> (typeof window.location !== 'undefined' && window.location.href.split('?')[0]) || '',<br /> }<br /><br /> amplitude.getInstance().logEvent(event, properties);<br /> console.log("event: ", event);<br /> } catch (err) {<br /> console.log("Error on log event.", err);<br /> }<br />}
What is causing the problem?
I hope someone can help me with this issue.
Thank you.