Add a snow effect with Google Tag Manager
Already have Google Tag Manager on your site? Add Christmas Lights without touching your site's code or waiting for a developer: one Custom HTML tag, publish, and it snows.
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/christmas, verify your email with the 6-digit code, and copy the script tag from the email.
Create a Custom HTML tag
In GTM click Tags β New β Tag Configuration β Custom HTML and paste your code.
Set the trigger
Choose All Pages. Name the tag "Christmas Lights" and save.
Preview, then publish
Use Preview to check the snow appears, then Submit β Publish.
Your code looks like this
<script async src="https://worldofaiagents.com/christmas/w.js" data-key="XM-YOURKEY" data-style="wonderland" data-until="2027-01-07"></script>
Change data-style to wonderland, snowfall, lights, sleigh or icicles whenever you like. data-until switches it off after a date (7 January by default). Optional: data-cursor="off" removes the stardust cursor, data-drift="off" stops snow piling up, data-greeting="holidays" says "Happy holidays", and data-position="right" moves the on/off button.
Schedule it
The code already ends on 7 January with data-until. You can also start it on a date with a GTM trigger condition.
Troubleshooting
- The tag fires but nothing shows
- Check the browser console. "This key is registered forβ¦" means the key belongs to another domain.
- Content Security Policy blocks it
- Allow
https://worldofaiagents.cominscript-srcandconnect-src.
Questions
Does it affect my analytics?
No. Christmas Lights sets no cookies, pushes no dataLayer events and doesn't change page views.
Let it snow on your website today
The snow on this page is the real widget. Try every theme on the main page.
Get my free Christmas lights πOther guides
- How to add a snow effect to your website
- Animated Christmas lights for your website
- Add falling snow and Christmas lights to WordPress
- Add a snow effect and Christmas lights to Shopify
- Add a snow effect to your Wix website
- Add a snow effect to your Squarespace website
- Add a snow effect to your Webflow site
- Add a snow effect to your Blogger blog
- Christmas snowfall for React, Next.js and Vue