Skip to content
SDK

SDK 0.13.0

  • Experiments talk to the data layer, so VWO, Google Analytics 4, Google Tag Manager and other tools can use them. Each view of a variant is pushed to window.dataLayer as { event: "cms_experiment_viewed", cms_experiment, cms_variant, cms_arm }, and events other tools push there, as { event: "…" } objects or gtag("event", "…") calls, count as goals of the kind An event, including those pushed before the script loaded. Events starting with cms_ or gtm. are ignored. Set window.cmsOrbitDataLayer = false before the script runs to leave the data layer alone. Nothing to change in your code.
  • IndexNow: createIndexNowRoute(cms) from @bifrost-orbit-cms/sdk/next serves the key file that lets CMS Orbit tell Bing, Yandex and other search engines the moment a page is published, moved, unpublished or deleted. Add it as app/api/indexnow/[key]/route.ts with a rewrite from /:key([0-9a-f]{32}).txt in next.config. cms.getRobots() now also answers indexNowKey.