Website Installation

To install CG-Button in your site, put the next code piece in the head section.

    
        <script>
window.cgAsyncReady = function () {
CGAPI.loadApp({container: "#content-glass-button-wrapper", type: "button", draggable: true});
};
</script>
<script type="text/javascript" async id="cg-api" src="//api.contentglass.com/server_api/s1/application/load/cg_api?app_id=5409596055731"></script>

Put the next code piece in the body section where the button need to be rendered.


    <div id="content-glass-button-wrapper"/>