Javascript API


Putting blurts on your page

To include blurts in your pages, just put a script tag in the document's head, as shown below:

<head>
  <!-- ... -->
  <script type="text/javascript" src="http://blurts.com/api/js"></script>
  <!-- ... -->
</head>

The blurts script will try to parse the page after the page has finished loading. You can customize blurts in the following manner:

<script type="text/javascript" src="http://blurts.com/api/js">
  // this code will run before blurts parses your page
  // it's a good place customize how blurts will appear and behave
  blurts.settings({ buttonStyle : {"text":1,"color":2} });
</script>

See the rest of the API documentation to learn how to customize blurts on your site.