The easiest method for embedding a Knowi display (dashboard or visualization) is with the copy-paste embed code. Navigate to a dashboard or visualization on Knowi and copy the Embed Code from the Share option.
Once acquired, this code can be pasted into HTML. This method is useful for simple embeddings, such as embedding into websites, blogs, or internal knowledge bases, but only very simple embedding scenarios should use the embed code.
Note: The JavaScript API is recommended for more control of the look and feel. It is not significantly more work to embed with the JavaScript API and doing so will gain you flexibility and power in your embedded deployment.
Embedding with an iFrame
The basic embed code using the iFrame looks something like this:
HTML:
<iframe width="1280" height="960"
src="https://www.knowi.com/d/BYhXXCeu0Ego8zA1FqtLOOM4BDWot5AYBLI7PWrQTbsie"
frameborder="0" allowfullscreen>
</iframe>
The secure embed code using the iFrame looks something like this:
<iframe width="1280" height="960"
src="https://staging.knowi.com:9443/share/secure/wLojflHipAqZKwQcGYipmUnR7Es4iserOurGEfquIpq2jQie/secureHash
frameborder="0" allowfullscreen>
</iframe>
iFrame Resources