@mongodb-js/mongodbcom-integration-broker
v0.1.15
Published
`IntegrationBroker()` is a high-performance client-side library housing third party integration scripts made to be consumed by various `mongodb.com/*` repositories.
Downloads
5
Maintainers
Keywords
Readme
mongodbcom-tag-manager
IntegrationBroker()
is a high-performance client-side library housing third party integration scripts made to be consumed by various mongodb.com/*
repositories.
It also does your taxes.
Getting started
Via npm
import { IntegrationBroker } from '@mongodbjs/mongodb.com-tag-manager'
const { bizible, demandbase, eloqua, intercom, segment } = IntegrationBroker({
exclude: [/localhost/g, '/my-pathname'],
segment: 'my api key',
eloqua: 'my api key'
})
Via UMD
<script async onload='IntegrationBroker()'></script>
Integrations
- Adroll
- Bizible
- Demandbase
- Eloqua
- Intercom
- Segment
Integration functions:
Bizible
bizible.push(...)
Demandbase
demandbase.ready(function () {
demandbase('registry_user_country')
})
Eloqua
eloqua.load('my api key')
eloqua.postForm('IntCMPreRegistrationAtlasUsers1118WW', {
email
})
Segment
segment.load('my api key')
segment.track(...)
segment.page(...)
segment.identify(...)
segment.getSignupSource()
segment.anonymousId()
Do Taxes
IntegrationBroker.doTaxes()