Here is an example of a SmartFrame embed code, which consists of an HTML <script> tag, <smartframe-embed> tag and a comment with a link to embedding support page:

<script async src="https://static.smartframe.io/embed.js"></script>
<smartframe-embed 
customer-id="7d0b78d6f830c45ae5fcb6734143ff0d"
image-id="imgp7068_3_copy_1676383547359"
theme="smartframe-home"
style="width: 100%; display: inline-flex; aspect-ratio: 6768/4517; max-width: 6768px;">
</smartframe-embed>
<!-- https://smartframe.io/embedding-support -->

<script> tag attributes:

  • async
  • src

<smartframe-embed> tag attributes:

  • customer-id
  • image-id
  • theme
  • style

Note: It’s essential that the CMS allows the <script> and <smartframe-embed> tags and their attributes to be added to the page source code so they can be evaluated and rendered by the browser.