# Can I use my own button instead of the DemoPage one?

> Add data-button="none" to the script to hide the DemoPage button, then add data-demopage-open to any link or button on your page. Clicking it opens your demo over the page.

Reviewed 2026-10-27.

## Example

Point the link at your demo page, as in the example. If the script can't load, the link still opens the demo, on its own page.

```
<script src="https://app.demopage.io/embed.js" data-demo="your-link" data-button="none" async></script>
<a href="https://app.demopage.io/d/your-link" data-demopage-open>See a live demo</a>
```

![Options under Embed on your site: data-button set to none with data-demopage-open on your own link, plus data-label, data-color, and data-position.](https://storage.googleapis.com/demopage-media/docs/embed-options.93dced8bbe9c.webp)

## Good to know

- The script still goes before </body>. The attribute can go on any number of links or buttons, including ones added to the page later.
- With data-button="none", data-label, data-color, and data-position do nothing, because there is no DemoPage button to style.
- Results counts Saw the button when a page loads with a data-demopage-open link on it, and Opened the demo when the demo opens. [What each number means](https://demopage.io/help/read-results.md)
- Without data-demopage-open on a page, nothing opens there.
- Visitors close the demo with the × button or by clicking outside it, and the focus goes back to your link.

Step by step: [Use your own button](https://demopage.io/docs/add-to-your-site.md#own-button).

## Related questions

- [How do I change the button's text, color, or position?](https://demopage.io/help/button-label-color-position.md)
- [How do I add the demo button to my website?](https://demopage.io/help/add-demo-button.md)
- [How do I share my demo link in emails, ads, and posts?](https://demopage.io/help/share-demo-link.md)
- [What do the numbers on the Results tab mean?](https://demopage.io/help/read-results.md)

Still stuck? Email hello@demopage.io. All questions: [Help center](https://demopage.io/help.md).
