Skip to content

Commit cfedd4c

Browse files
authored
Integrate Chatbase widget in footer
Added Chatbase widget script to the footer.
1 parent ede323f commit cfedd4c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,13 @@ <h2 class="heading text-5xl text-center mb-12">Start Your Free Claim Review</h2>
124124
<p class="text-sm mt-4">© 2026 Heather Barile • Licensed NJ Public Adjuster</p>
125125
</footer>
126126

127+
<!-- ... footer content ... -->
128+
129+
<!-- Chatbase Widget -->
130+
<script>
131+
(function(){if(!window.chatbase||window.chatbase("getState")!=="initialized"){window.chatbase=(...arguments)=>{if(!window.chatbase.q){window.chatbase.q=[]}window.chatbase.q.push(arguments)};window.chatbase=new Proxy(window.chatbase,{get(target,prop){if(prop==="q"){return target.q}return(...args)=>target(prop,...args)}})}const onLoad=function(){const script=document.createElement("script");script.src="https://www.chatbase.co/embed.min.js";script.id="NAZ9TRG3hwywidlXD2UMf";script.domain="www.chatbase.co";document.body.appendChild(script)};if(document.readyState==="complete"){onLoad()}else{window.addEventListener("load",onLoad)}})();
132+
</script>
133+
127134
</body>
135+
</html></body>
128136
</html>

0 commit comments

Comments
 (0)