{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Activation","product_name":"Engage Studio","type":"markdown"},"seo":{"title":"Prepare a Landing Page Static Website Package","description":"Prepare and validate a static ZIP package with web assets, relative paths, and directory index files for custom-subdomain hosting in Treasure AI Engage Studio.","siteUrl":"https://docs.treasure.ai","image":"/assets/treasure-ai-social-preview.e6fefb35676f6da91c2d1bc783bd39e618e7af2b1ad3aa52a96ae69d72e700fe.b1bff462.png","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"prepare-a-static-website-package","__idx":0},"children":["Prepare a Static Website Package"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Private Beta"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Landing Page Delivery is currently available as a private beta. Contact your Treasure AI account representative for access."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A Landing Page package is a ZIP archive of static assets that your browser extracts and uploads to Treasure AI Engage Studio. Preparing the package before creating a draft helps you verify that its pages and assets work at the destination URL. Use this task when you are providing a static website for a marketer to publish through Landing Pages."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prepare-static-assets-outside-engage-studio","__idx":1},"children":["Prepare Static Assets Outside Engage Studio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Landing Page Delivery hosts a completed static website package; it does not build or edit the website for you. Build and test the site outside Engage Studio before uploading it, then package the allowed static files in a ZIP archive."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use relative asset paths so that CSS, JavaScript, images, and fonts can load at the published URL. A local path that begins with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/"]}," points to the custom domain root rather than the current Landing Page slug, so it can load the root page's asset or fail to load the intended file. External ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://"]}," URLs are allowed. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/landing-pages/specifications-and-troubleshooting#local-asset-paths"},"children":["Local Asset Paths"]}," for examples. The ZIP-root ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["index.html"]}," serves the landing page's top URL, and each subdirectory URL that should serve a default page needs its own ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["index.html"]},". A directory URL without a matching ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["index.html"]}," returns ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["404 Not Found"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"pull-an-existing-landing-page","__idx":2},"children":["Pull an Existing Landing Page"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx engage landing-page pull"]}," to download an existing Landing Page before editing or repackaging it."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pull"]}," always retrieves the Landing Page configuration as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx.json"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["landing-page.yaml"]},". For a published page, it also reads the current published upload attempt's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["webAssets"]}," manifest and downloads every file in that manifest from the page's public URL, including files that are not referenced by HTML or CSS. For a draft or content-less page, it creates a configuration-only project with an empty ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["site/"]}," directory; it does not retrieve a draft upload attempt or draft site files."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pull"]}," does not execute JavaScript, crawl navigation links or iframes, or retrieve historical versions. A published page with an invalid or unavailable published manifest fails rather than silently replacing the local site with a configuration-only project."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Preview a pull without changing local files\ntdx engage landing-page pull \"Spring Launch\" --workspace \"Marketing Team\" --dry-run\n\n# Replace the project directory after confirmation\ntdx engage landing-page pull \"Spring Launch\" --workspace \"Marketing Team\"\n\n# Replace a chosen directory without confirmation\ntdx engage landing-page pull \"Spring Launch\" --workspace \"Marketing Team\" --dir ./spring-launch --yes\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Pull replaces the destination project directory, so files that are not in the pulled project are removed. Public-site crawler requests must ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," send TD API authorization headers, OAuth credentials, cookies, or any private session data."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"check-package-specifications","__idx":3},"children":["Check Package Specifications"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Landing Page Delivery validates the files declared in the ZIP archive before it can be published. Review the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/landing-pages/specifications-and-troubleshooting#static-package-specifications"},"children":["static package specifications"]}," for the allowed extensions, file-count limit, individual file-size limit, total unarchived size limit, and relative-path rules."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Published content is public"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Anything in a published package can be delivered to public visitors at the landing page URL. Do not include credentials, API keys, tokens, private customer data, or other secrets in the package."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"verify-the-package-before-uploading","__idx":4},"children":["Verify the Package Before Uploading"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check the package before uploading it to a landing page:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The website is a completed static ZIP package that you tested outside Engage Studio."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["CSS, JavaScript, images, and fonts use relative paths that resolve from the published page URL."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ZIP root contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["index.html"]}," for the landing page's top URL, and each subdirectory URL that should serve a default page includes its own ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["index.html"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Every file and path meets the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/landing-pages/specifications-and-troubleshooting#static-package-specifications"},"children":["static package specifications"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The package contains no credentials, API keys, tokens, private customer data, or other secrets."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":5},"children":["Next Steps"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After the package is ready, make sure that the custom subdomain is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Active"]}," and available to the target workspace. Then ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/landing-pages/creating-and-publishing"},"children":["create and publish a landing page"]},". If the custom subdomain is not ready, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/marketing-cloud/engage-studio/landing-pages/custom-subdomains"},"children":["configure a custom subdomain"]}," first."]}]},"headings":[{"value":"Prepare a Static Website Package","id":"prepare-a-static-website-package","depth":1},{"value":"Prepare Static Assets Outside Engage Studio","id":"prepare-static-assets-outside-engage-studio","depth":2},{"value":"Pull an Existing Landing Page","id":"pull-an-existing-landing-page","depth":2},{"value":"Check Package Specifications","id":"check-package-specifications","depth":2},{"value":"Verify the Package Before Uploading","id":"verify-the-package-before-uploading","depth":2},{"value":"Next Steps","id":"next-steps","depth":2}],"frontmatter":{"seo":{"title":"Prepare a Landing Page Static Website Package","description":"Prepare and validate a static ZIP package with web assets, relative paths, and directory index files for custom-subdomain hosting in Treasure AI Engage Studio."}},"lastModified":"2026-09-15T06:02:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/marketing-cloud/engage-studio/landing-pages/prepare-a-static-website-package","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}