All Collections
Integrations
Google Tag Manager Integration
Google Tag Manager Integration

Integrating Vidjet with your website using Google Tag Manager

Leo Petit avatar
Written by Leo Petit
Updated over a week ago

1. Open your Google Tag Manager: https://tagmanager.google.com/

2. Choose your account where your site is connected to

3. Go to tags

4. Click on new:

5. Name the tag “Vidjet Script”

6. For tag configuration, choose Custom HTML

7. Copy paste our script tag with your updated site Id:

<!-- Vidjet Script - Start --> <script> (function(d, s, id) { if (d.getElementById(id)) return; var t = d.getElementsByTagName(s)[0]; var vis = d.createElement(s); vis.id = id; vis.src = 'https://app-api.vidjet.io/generator.js?siteId=XXXX'; t.parentNode.insertBefore(vis, t); })(document, 'script', 'vidjet'); </script> <!-- Vidjet Script - End -->

8. For triggering, choose “All Pages”

9. Click Save

10. Submit your changes

11. Done. Your website is now connected. Wait 1 or 2 minutes so that Google Tag Manager pushes the changes.

Did this answer your question?