@orchestree/landing
v1.2.0
Published
Landing Pages module — Drag-and-drop page builder, A/B testing, SEO toolkit, templates
Downloads
114
Maintainers
Readme
@orchestree/landing
Landing page builder for Orchestree. Create and optimize landing pages with A/B testing and SEO analysis.
Installation
npm install @orchestree/landingQuick Start
const { LandingClient } = require('@orchestree/landing');
const client = new LandingClient({
apiKey: 'your-api-key',
});
// Create a landing page
const page = await client.createPage({
title: 'Product Launch',
slug: 'product-launch',
seoTitle: 'New Product - Limited Time Offer',
});
// Publish page
await client.publishPage(page.id);
// Create A/B test
const test = await client.createABTest({
name: 'CTA Button Test',
variantA: page.id,
variantB: page.id + '-variant',
});
// Analyze SEO
const seoAnalysis = await client.analyzeSEO(page.id);API Reference
LandingClient
createPage(pageDef)
Create a landing page.
const page = await client.createPage({
title: 'Webinar Signup',
slug: 'webinar-2024',
seoTitle: 'Free Webinar Registration',
});publishPage(pageId)
Publish a page.
await client.publishPage(page.id);createABTest(testDef)
Create an A/B test.
const test = await client.createABTest({
name: 'Headline Test',
variantA: 'page-1',
variantB: 'page-2',
});getABResults(testId)
Get A/B test results.
const results = await client.getABResults(test.id);analyzeSEO(pageId)
Analyze page SEO.
const analysis = await client.analyzeSEO(page.id);License
MIT
