<aside> 💡 This article will outline the steps to integrate Gander on your Custom Site
</aside>
In order to attach gander videos to your page there are two options - using google tag manager or pasting a snippet directly to your codebase
We recommend this option because google tag manager offers version control and safe guards that prevent you from accidentally editing the code
This document describes the steps required to add gander player to your webpage. The following document assumes you already have Google Tag Manager added to your site, but if not you can follow these steps.
Login to google tag manager
Click on the tags and create a new one
Create a new tag called Gander
<!-- Gander snippet by google tag starts ends -->
<link href="<https://widget.gogander.online/static/css/index.css>" rel="stylesheet" />
<script src="<https://widget.gogander.online/static/js/index.js>"></script>
<!-- Gander snippet by google tag manager ends -->
Once you have published the google tag manager snippet, please link videos to pages using our app to render videos. For more information on how, please click HERE
Alternatively, you can also paste the snippet below to your main layout file (any file which loads for every page load)
<link href="<https://widget.gogander.online/static/css/index.css>" rel="stylesheet" />
<script>
window.addEventListener('load', (event) => {
const script = document.createElement('script');
script.src = '<https://widget.gogander.online/static/js/index.js>';
script.defer = true;
document.body.appendChild(script);
});
</script>
<aside> 💡 What is an embed experience ? When the gander video is within the page (as opposed to overlay), we call the experience embed. Below is an example of embedded vides.
</aside>