Add Diwali lights with Google Tag Manager
Already have Google Tag Manager on your website? Then you can add Diwali Lights without touching your site's code or asking a developer: create one Custom HTML tag, publish, and your site lights up.
You'll need your free key first. It takes a minute and arrives by email.
Step by step
Get your free widget code
Register your website at worldofaiagents.com/diwali, verify your email and copy the script tag.
Create a Custom HTML tag
In your GTM container click Tags → New, choose Tag Configuration → Custom HTML, and paste your Diwali Lights code.
Set the trigger
Under Triggering choose All Pages (or Initialization – All Pages). Name the tag "Diwali Lights" and save.
Preview
Click Preview, enter your website address, and check that the tag fires and the lights appear.
Publish
Click Submit → Publish. The lights now show for every visitor.
Your code looks like this
<script async src="https://worldofaiagents.com/diwali/w.js" data-key="DL-YOURKEY" data-style="grand"></script>
Change data-style to diyas, fireworks, toran, lanterns or grand whenever you like. Optional: data-sparkler="off" removes the cursor sparkler, data-until="2026-11-20" switches the lights off after a date, and data-position="right" moves the small on/off button.
Schedule it
Prefer GTM to handle the dates? Add data-until="2026-11-20" to the code, or use a trigger condition on a date variable. Either way the lights switch off on time with no code change on your site.
Troubleshooting
- The tag fires but nothing shows
- Open the browser console. A "this key is registered for …" message means the key was registered for a different domain. Register the domain that GTM runs on.
- Content Security Policy blocks it
- If your site sends a CSP header, allow
https://worldofaiagents.cominscript-srcandconnect-src.
Questions
Can I add Diwali lights without editing my website code?
Yes. If your site already has Google Tag Manager, add Diwali Lights as a Custom HTML tag and publish the container. No site code changes are needed.
Does it affect my analytics?
No. Diwali Lights doesn't set cookies, push dataLayer events or change page views. It only draws lights.
Light up your Google Tag Manager site today
The lights on this page are the real widget. Try every style on the main page.
Get my free Diwali lights 🪔Other guides
- Add Diwali lights to your WordPress website
- Add Diwali lights to your Shopify store
- Add Diwali lights to your Wix website
- Add Diwali lights to your Squarespace website
- Add Diwali lights to your Webflow site
- Add Diwali lights to your Blogger blog
- Diwali lights for React, Next.js and Vue apps
- Deepavali decoration for your website