Skip to content

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

@SegmentDestinationsBot

Description

@SegmentDestinationsBot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions