Landing Page
The Landing Page screen lets you publish one web page for your project at the main address of
your vanity domain, for example https://go.example.com/. You can upload the page as
an HTML file or have Helm read it from a file in a GitHub repository. This page explains both
options, how to preview and update the page, and what the page can contain.
What this page is for
Open your project and click Landing Page in the sidebar
(/<company>/<project>/marketing/landing-page/). Each project has at most one
landing page. Helm shows it to anyone who opens the main address (/) of any of the
project's active vanity domains. A vanity domain is a web address of your own that points
at Helm; to set one up, see
Vanity Domains.
Without a vanity domain you can still set up the page and look at it with Preview, but nobody else can reach it.
The landing page is not the page people see when they open a tracking link to an app store. To replace Helm's store pages with your own design, use the separate Download Page screen.
The screen has these parts:
- A status line, shown when the project has a vanity domain. It reads "Live at
go.example.com" when the landing page is live, or "Vanity domain configured:go.example.com— activate a landing page to go live." when there is no landing page yet. If the project has more than one domain, the line names only the first, but the page is live on all of them. - A note about share images, pointing to the Branding page (see Add a share image below).
- The source: two options, HTML File and GitHub File. Choose one.
- Re-sync from GitHub, shown only when the source is a GitHub file.
- Save, then Preview and Delete once a landing page exists.
Publish the page from an HTML file
Use this option when you have the page as a single file on your computer.
- Select HTML File.
- Click the file button and choose your file. It must end in
.htmlor.htm, be no larger than 2 MB, and be saved as UTF-8 text (the usual setting in code editors). - Click Save. The page reloads, shows "Current:" with the file's name, and the status line changes to "Live at …".
- Click Preview to check the page. It opens in a new tab.
To change the page later, choose the new file and click Save again. If you click Save without choosing a file, Helm keeps the current one.
Publish the page from a GitHub file
Use this option when the page is kept in a GitHub repository. Helm copies the file when you save and each time you click Re-sync from GitHub. It does not follow later changes to the repository by itself.
The option is greyed out, with "GitHub not connected — connect it in Organization Settings → GitHub → Connect GitHub", until your company has connected the GitHub account that owns the repository. See Connect GitHub for PR Previews. A private repository must also be one of the repositories the Helm GitHub App was given access to.
- Select GitHub File.
-
In Repository, enter the repository as owner and name, for example:
your-org/marketing-site -
In File Path, enter the path of the file inside the repository. It must end in
.htmlor.htm. For example:landing/index.html -
In Branch, enter the branch to read from. It is
mainunless you change it. For example:main - Click Save. Helm reads the file from GitHub and publishes it.
- Click Preview to check the page.
Update the page after a change in GitHub
- Merge or push your change to the branch you entered.
- On the Landing Page screen, click Re-sync from GitHub.
- Check "Last synced … ago" next to the button. It should say
0 minutes.
If Helm cannot read the file, the screen shows "Sync failed:" with the reason, and the page that was live before stays live. Fix the problem and click Re-sync from GitHub again.
Preview, timing and deleting
- Preview opens the page in a new tab inside Helm. It opens in a restricted mode, so the page's scripts and forms do not run in the preview. Open the page on your vanity domain to test them.
- After you save or re-sync, the page on your vanity domain can take up to a minute to change, because copies of it are kept for up to 60 seconds to make it load faster.
- Delete opens a pop-up that asks "Delete the landing page?" and names the file. Click Delete page to remove it. The main address of your vanity domain then shows "Not found". Your tracking links, surveys and other pages on the domain keep working.
What to put in the page
Helm serves exactly the HTML you give it, as one page. Keep these points in mind:
- Use full addresses for images, styles and scripts, starting with
https://, or put the styles and scripts inside the HTML file. Helm serves only the one file, so a relative path such asimages/logo.pngor/style.cssshows "Not found" on your vanity domain. -
Point your buttons at tracking links, so each click is counted. On the vanity domain itself you can use the short form of the address. For example, with a tracking link whose slug is
website:<a href="/website/">Download the app</a>See Tracking Links.
- For App Store buttons that also record the install on iPhones, add Helm's
handoff.jsscript and adata-helm-linkattribute to each button. On a landing page served from the vanity domain, the script tag can usesrc="/_helm/handoff.js". The full steps are in iOS Install Attribution.
Add a share image
A share image is the picture that appears when someone posts your page's address on a social
network or in a chat app. Upload a Social Share Image on the
Branding page, copy its
address, and add it to the <head> section of your HTML. You can also use any
public image address you already host.
<meta property="og:image" content="https://example.com/share.png">
Replace https://example.com/share.png with your image's address.
Troubleshooting
Saving shows "Invalid source_type: . Must be 'file' or 'github'."
No source was selected. Select HTML File or GitHub File, fill it in, and click Save again.
Saving shows "html_file is required for file source type."
You selected HTML File for a new landing page but did not choose a file. Choose the file, then click Save.
Saving shows "Invalid file extension …" or "File too large …"
The file must end in .html or .htm and be 2 MB or smaller. Large pages are usually large because of pictures stored inside the HTML; host those elsewhere and link to them with full addresses.
Saving shows an error that mentions "'utf-8' codec can't decode"
The file is not saved as UTF-8 text. Open it in your code editor, save it again with the UTF-8 encoding, and upload it again.
Saving or re-syncing shows "File not found: …"
- Check Repository, File Path and Branch. They must match GitHub exactly, including capital letters.
- If the repository is private, check that the Helm GitHub App can read it: on GitHub, open the account's settings, then GitHub Apps, click Configure next to the Helm App, and add the repository under Repository access.
Saving or re-syncing shows "GitHub access denied. …" or "GitHub not connected. …"
Helm cannot read the repository with the Helm GitHub App. Ask a company Owner or Admin to check Company settings → GitHub, and to connect the GitHub account that owns the repository if it is not listed. If GitHub is connected and the message mentions the rate limit, wait a few minutes and try again.
The vanity domain still shows the old page
Wait one minute and reload. If it still shows the old page, click Preview: if the preview is also old, the save or re-sync did not take effect, so check for a "Sync failed:" message.