The official way to bring visitors to your Cloudflare Apps listing.
The Cloudflare Install Button can be embedded to your website or Github page to encourage customers to install your Cloudflare App.
The official way to use the button is to paste the following code to your website or marketing page.
Just replace [ appTitle ]
and [ appId or appAlias ]
with the appropriate details for your app. These can be found on the Configure page of your app.
<iframe
src="https://install.cloudflareapps.com/cta/?appTitle=[ appTitle ]&appId=[ appId or appAlias ]"
allowTransparency="true"
scroll="no"
frameBorder="0"
style="width: 292px; height: 194px">
</iframe>
Here’s the Iframe Button for the Google Analytics app and the HTML embed code to produce it.
<iframe
src="https://install.cloudflareapps.com/cta/?appTitle=Google%20Analytics&appId=google-analytics"
allowTransparency="true"
scroll="no"
frameBorder="0"
style="width: 292px; height: 194px">
</iframe>
The appId
can be found on the Configure page of your app.
<iframe
src="https://install.cloudflareapps.com?appId=[ appId ]"
allowTransparency="true"
scroll="no"
frameBorder="0"
style="height: 48px; width: 180px">
</iframe>
You can specify any options you would like to preselect for your visitor when they open the preview page.
To do this, provide the JSON and URL encoded options
as an additional GET
parameter to the install.cloudflareapps.com
URL.
All dimensions below are listed as width × height
.
The larger CTA-style button is designed to be displayed at exactly 292px × 194px
.
The inline button supports a wide range of sizes:
28px × 120px
.67px × 252px
.Any dimensions between those are acceptable, however we have a few recommended sizes.
30px × 120px
.36px × 150px
.48px × 180px
.Here’s an example button in the “Normal” size:
<iframe
src="https://install.cloudflareapps.com?appId=[ appId ]"
allowTransparency="true"
scroll="no"
frameBorder="0"
style="height: 36px; width: 150px">
</iframe>
In situations where an <iframe>
embed is not an option (e.g. a GitHub README file), you can use the following image button instead.
<a href="https://cloudflareapps.com/apps/[ appId ]/install?source=button">
<img
src="https://install.cloudflareapps.com/install-button.png"
alt="Install [ appTitle ] with Cloudflare"
border="0"
width="150">
</a>