Step-by-step instructions for implementing Perch embeddable tools across different platforms and frameworks
<div>
tag denotes the location where the tool will appear on your page. You can place this anywhere in your page.<script>
tag loads the JavaScript that will automatically replace the <div>
with the expected widget.<div>
with the class .perch-widget-loading-indicator
to insert a plain text loader (e.g. ‘Loading…’) that will be visible while the tool is being downloaded and rendered.
You can replace the contents of this <div>
with a custom message or a loading indicator of your choice to better match your branding:
.perch-widget-loading-indicator
class as this is what our script looks for when removing the loading indicator.<div>
and <script>
tags into the HTML element<div>
and <script>
tags into the Embed element<div>
and <script>
tags into the Code block<div>
and <script>
tags in different locations:
<script>
tag in this box and hit save<>
<div>
portion of your tool into the box<head>
section)