segment-integrations / analytics.js-integration-bing-ads

The Bing Ads analytics.js integration.
https://segment.com/docs/integrations/bing-ads/
MIT License
0 stars 3 forks source link

Uncaught TypeError: window.UET is not a constructor #5

Open samkessaram opened 5 years ago

samkessaram commented 5 years ago

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.

SegmentDestinationsBot commented 4 years ago

Hi @samkessaram, as part of the monorepo migration, this issue has been moved to new issue. Our engineers have been notified and will prioritize and work on it ASAP. Thank you!

For more information, see README.md.