Skip to main content
All CollectionsIntegrations
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 this week

💡 We do recommend GTM to integrate our script. However, if you prefer to integrate it directly into your website, here's the tutorial.

Steps to follow

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 the trigger, choose “All Pages”

9. Click "Save"

10. Submit your changes

11. Done. Vidjet is now integrated to your site. ✔️

Wait 1 or 2 minutes so that Google Tag Manager pushes the changes.

Did this answer your question?