Campaign actions deprecated in Embed2
Ada removed the scripted proactive campaigns feature and deprecated the campaign actions in the Embed2 Web SDK. Existing integrations continue to load without code changes, but the deprecated actions no longer have any effect.
What changed
- The
triggerCampaign,evaluateCampaignConditions, andtrackEventactions are deprecated. Calling them still resolves, but has no effect and logs a console warning. To start a proactive conversation, usetriggerProactivewith a generative AI Agent, ortriggerAnswerwith a scripted bot. - The
ada:campaigns:shownandada:campaigns:engagedevents are unchanged. Theada:campaigns:openedevent no longer fires. SeesubscribeEvent. - Automatic URL-triggered business events are unchanged: Embed2 still tracks configured business events when a page URL matches their trigger conditions.
The @ada-support/embed2 npm package publishes this change as version 1.15.0. There are no build-time or type-level breaking changes: the deprecated actions remain callable, and projects that pin a 1.x version range continue to build and load as before.