segmentio / analytics.js-integrations

Monorepo housing Segment's analytics.js integrations
https://segment.com/docs/destinations/
MIT License
119 stars 141 forks source link

[bing-ads] Uncaught TypeError: window.UET is not a constructor #342

Open SegmentDestinationsBot opened 4 years ago

SegmentDestinationsBot commented 4 years ago

Migrated from #5 by @samkessaram

OS: Mac OS X 10.14.1 Browser: Brave 0.56.15

Getting this error on initialization of Segment.

The error is throwing on this line: https://github.com/segment-integrations/analytics.js-integration-bing-ads/blob/master/lib/index.js#L40

Brave is blocking Bing from loading, but not analytics.js. So when it tries to initialize the Bing integration, it fails.

Some sort of check before attempting to initialize would be good.

scridget commented 4 years ago

Any ETA on this issue? We're seeing a handful of these events every day.

montnyc commented 4 years ago

+1, seeing an increase in frequency on this

scridget commented 4 years ago

Checking in again. We're now logging this error about 150-200 events per day.

BenMoses commented 4 years ago

+1, we're also having this issue on a project I'm working on. I've looked at the change and its safe and very small could this be prioritised please :bow:

deepikagunda commented 4 years ago

+1 We are also seeing this issue and the fix seems simple . Can we get this in ,pls.

martyphee commented 4 years ago

+1 on this issue. Seeing a number of them

ikondrat commented 4 years ago

+1 please have a look

404-html commented 4 years ago

It would be nice to get this prioritized.

kodermax commented 4 years ago

+1

TheActualWalko commented 4 years ago

+1

safareli commented 3 months ago

link to the file in this repo https://github.com/segmentio/analytics.js-integrations/blob/e09a39466bd1288fe496ead63acebb7ee5510d10/integrations/bing-ads/lib/index.js