Write Once

Embed Anywhere


  1. <script src="//copybar.io/ACCOUNTNAME/ELEMENTNAME.js"></script>

Developers

Designers

Writers

Enterprise


Backend Services For Developers

To serve this dynamic element directly from any dynamic website:

Send an HTTP GET request to the following url:

https://copybar.io/ACCOUNTNAME/ELEMENTNAME

this will return just the HTML wrapper for the dynamic element content. You can render this directly onto your site.


or you can also include the inline editing tools:

https://copybar.io/ACCOUNTNAME/ELEMENTNAME?edit

To serve this dynamic element directly from your Ruby powered website:

  1. Install the copybar gem. Add this line to your Gemfile

    gem "copybar"

    and rebundle with the command:

    bundle install
  2. Use the helper anywhere in your views to include copybar html content:

    <%= Copybar("ACCOUNTNAME", "ELEMENTNAME") %>

    or to include editing tools:

    <%= Copybar("ACCOUNTNAME", "ELEMENTNAME"), :edit => true %>

Source code and docs for the copybar gem is on Github

To serve this dynamic element directly from your PHP powered website
(including WordPress):

<?= file_get_contents('https://copybar.io/ACCOUNTNAME/ELEMENTNAME') ?>

or you can also include the inline editing tools:

<?= file_get_contents('https://copybar.io/ACCOUNTNAME/ELEMENTNAME?edit') ?>

You can create elements to use on the client side. Just add this html tag to the spot on the page where you want a Copybar element.

<script src="//copybar.io/ACCOUNTNAME/ELEMENTNAME.js"></script>