Why use Google Tag Manager for Oscar Chat
What you need before you start
- Access to your Google Tag Manager container (publish permissions recommended).
- Your Oscar Chat widget hash from the Oscar Chat dashboard.
- GTM container already installed on your website.
Step-by-step: add Oscar Chat in Google Tag Manager
Step 1: create a new tag
- Open Google Tag Manager.
- Go to Tags and click New.

Step 2: choose the tag type
- Click Tag Configuration.
- Select Custom HTML.

Step 3: paste the Oscar Chat code (footer load)
Paste this script into the Custom HTML field. Replace YOUR_WIDGET_HASH_HERE with your real hash.
<script src="https://ai-assistant.oscarchat.ai/RushWidgetChat.js" type="text/javascript"></script>
<script>
new RushWidgetChat({
target: document.body,
props: {
hash: 'YOUR_WIDGET_HASH_HERE'
}
});
</script>
Step 4: advanced settings
- Tag firing priority: 0
- Tag firing options: Once per page
Step 5: add a trigger
- Click Triggering.
- Select All Pages.

Step 6: save and publish
- Click Save.
- Click Submit.
- Publish the container version.
How to verify the installation
- Open your website in an incognito window.
- Confirm the Oscar Chat widget button appears.
- Use GTM Preview mode to confirm the tag fires on page load.
- Open DevTools Console and confirm there are no JavaScript errors.
Troubleshooting
Chat does not appear
- Confirm your widget hash is correct.
- Make sure the tag is published (not only saved).
- Verify GTM is installed on your site.
Chat loads twice
- Set Tag firing options to Once per page.
- Make sure the script is not installed in your site code and GTM at the same time.
Next steps
After installation, you can customize greetings, lead capture flows, and widget behavior inside Oscar Chat. For advanced setups, you can restrict the GTM trigger to specific pages or audiences.
Frequently Asked Questions
What is How to Add Oscar Chat to Your Website Using Google Tag Manager?
How to Add Oscar Chat to Your Website Using Google Tag Manager is a practical topic for teams that want to improve customer conversations, automate repetitive questions, and create a better website experience.
Who is this useful for?
It is useful for small and medium businesses that receive repeated website questions and want to support visitors without adding heavy support operations.
How can AI help with this workflow?
AI can answer common questions, collect context, reduce repetitive manual replies, and prepare a human handoff when a visitor needs personal help.
When should a human join the conversation?
A human should join for pricing, complaints, refunds, account issues, custom requirements, sensitive topics, or any question the AI cannot answer confidently.
What should teams measure?
Teams should measure chat opens, AI resolution, unanswered questions, human handoff, qualified leads, response time, and conversion after chat.
How does Oscar Chat help?
Oscar Chat brings AI chatbot, live chat, popups, forms, and lead capture into one platform so teams can improve website engagement without stitching tools together.