motiftools is not currently available from CRAN, but you can install the development version from github with:
devtools::install_github("ddiez/motiftools")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.