# How to Embed Code

**URL:** <https://community.glideapps.com/t/how-to-embed-code/30679>\
**Category:** Ask for Help\
**Created:** [August 19, 2021, 1:41pm UTC](https://community.glideapps.com/t/how-to-embed-code/30679 "2021-08-19T13:41:27Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 16, 2024, 3:45pm UTC](https://community.glideapps.com/t/how-to-embed-code/30679/10 "2024-05-16T15:45:41Z")

</div>

I think for something like that you’ll need to use the web embed. Looks like Stripe has a different version of the code wrapped in some html. If you already have a separate page built and hosted elsewhere, you can embed that. If not, you can put the code in a template column and use some javascript to convert the html and script into a datauri that you can then use in a web embed component.

Refer to this post for how to set it up.

> [@Instagram and glide combined](https://community.glideapps.com/t/instagram-and-glide-combined/50772/18):
>
> It’s possible. Both Jeff & I have tinkered with it. Essentially you just need to generate the HTML with a template, use JavaScript to URIencode that, and then use the URIencoded HTML in a web view component. The following JavaScript works: return `data:text/html;charset=utf-8,${encodeURIComponent(p1)}`;

---

_[View the full topic](https://community.glideapps.com/t/how-to-embed-code/30679)._
