I am following browser-tracker documents to run trackPageView event but I could not able to hit the collector URL. when curl https://snowplow-collector-dev-zxbopxaa2q-an.a.run.app/health is OK
below is the code, can anyone tell me what is the issue?
Nothing is screaming out at me as incorrect here. Are there any CORS errors for that endpoint in your developer console, or anyother errors/warnings that look relevant?