Skip to content
MocklyDocs

Run a testing program

Cloning a lander

Copy a site into the same organization or another brand's, with that brand's theme, and see what the copy will be first.

A lander that works for one brand is a head start for the next. Cloning makes a new site from a copy of another's pages, components, content, and files, as they are in the editor now. Clone into the same organization to try a new angle, or into another brand's organization, with that brand's colors and fonts.

Clone a site#

  1. On the sites page, click ⋯ at the end of the site's card, then Clone….
  2. Give the copy a Name. It starts as the site's name with "copy".
  3. Choose the Organization it goes to, if you build sites in more than one. The site's own is first.
  4. Check the Address. Its start follows the name, and Mockly adds six random characters after it, as for any new site.
  5. Choose the Theme: Keep the site's own, or Use the theme of a site the organization already has.
  6. Read the box under the fields. It says what the copy will be.
  7. Click Clone site.

The new site opens in the editor. If it's in another organization, the studio switches to that organization, and says where the clone is.

Nothing of the clone is live until you publish it.

Where a clone can go#

Into any organization you build sites in, as an owner, an admin, or a member:

  • The site's own organization, for a copy to take in a new direction: another angle, another offer, another audience.
  • Another organization, which is how a lander goes from one brand to the next. A brand of its own is an organization of its own, and an agency's people are in each client's.

Content editors don't clone.

What comes along#

  • Every source file: pages, components, content, and the theme, as the editor has them now, published or not.
  • Every file in public/: images, fonts, and the rest.
  • The settings that are a page's own: search-engine and heatmap settings, cookie consent, the currency, redirects, and ad parameters.
  • Within the same organization, its analytics and ad tools too. They're that brand's.

What never comes along#

What belongs to one site alone stays with it:

  • the Site URL, the verification tags, and the password
  • the Shopify store
  • secrets, the data refresh schedule and CMS hook, form webhooks, and notifications
  • who approves its publishes
  • its experiments' status and results, its analytics, heatmaps, and form submissions
  • its history, preview links, reports, and AI chats
  • into another organization, its analytics and ad tools

The clone's experiments start fresh when it's first published. The plan names the site's secrets, so you know which to set again, in the clone's Data.

Taking a brand's theme#

Use the theme of lists the sites of the organization the clone goes to that have a theme. A theme never comes from another organization. If the organization has no other site with a theme, the clone keeps its own, and you can change it afterwards in Site Styles.

With another site's theme, the clone's theme file is that site's file. Then:

  • What both themes name takes the brand's values. A color or a text style with the same name in both themes takes the other site's values. brand-600 is the lander's indigo in the original, and the brand's red in the clone. That's the rebrand, and it reaches as far as the two themes use the same names.
  • What only the lander's theme has is added to the clone's theme, so the lander's classes keep working: a color, the shades of a scale the other lacks, a text style, a font, a shadow, a corner radius, spacing, a duration, or an easing.
  • What can't be carried is listed, with why. Its classes have no style in the clone until you fix them. That's a color that's a scale of shades in one theme and a single color in the other, and an animation the brand's theme doesn't have: add its keyframes to the clone's theme file.
  • The brand's font files come along, copied from its site's public/. One replaces a file of the lander's at the same path.

Brands whose themes share names, such as brand, accent, and heading-1, take each other's landers with the least to fix afterwards.

The plan, before anything is made#

The box in the dialog is the plan. It's worked out again whenever you change the organization or the theme, and nothing is made until you click Clone site. It says:

  • What it copies: how many source files, how many files in public/ and their size, and the settings that come along.
  • With another theme: which colors and text styles take its values, and whether its font files come along; what's kept from this site, because that theme doesn't have it; and, in amber, what can't be carried, each with why.
  • Problems, in amber: how many errors the copy would have to fix before it can be published, with the first three. A copy with problems is still made. It's a draft, and they're its to fix.
  • What doesn't come along, with the site's secrets by name.

Clone site is dimmed, saying why, until the copy has a name, an address, and a plan.

If the site's own theme file has errors, it can't take another theme. Fix them first, or keep its theme.

After cloning#

A clone is a draft with the lander's words. Before you publish it, go through what didn't come along:

  • Rewrite the words for the new brand. Cloning doesn't. AI, in the clone's editor, can.
  • Set the Site URL, and connect the Shopify store, in Site settings.
  • Set its secrets again, in Data.
  • In another organization, add that brand's analytics and ad tools.
  • Fix anything the plan listed in amber.

The audit log#

Each organization's audit log says what its own people may know. On the new site, it says the site is a clone, and of which site only when that's in the same organization. On the original, it says the site was cloned, and names the copy only when the copy stayed. Neither organization's log names the other's site.

Limits#

  • It copies the draft, not a published version.
  • One site at a time.
  • Only into an organization you build sites in.
  • A theme comes only from a site of the organization the clone goes to.