# How to run JS with a $

**URL:** <https://community.weweb.io/t/how-to-run-js-with-a/1723>\
**Category:** How do I?\
**Created:** [January 18, 2023, 4:31am UTC](https://community.weweb.io/t/how-to-run-js-with-a/1723 "2023-01-18T04:31:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![George](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/george/32/1661_2.png) [@George](https://community.weweb.io/u/George)\
**Post date:** [January 18, 2023, 4:31am UTC](https://community.weweb.io/t/how-to-run-js-with-a/1723/1 "2023-01-18T04:31:02Z")

</div>

I need to run scripts that push email to Crisp.chat and open chat  
Here they are:  
/ Example 1: set user email  
$crisp.push([“set”, “user:email”, [“john.doe@crisp.chat”]]);

and second  
$crisp.push([“do”, “chat:open”])

Script has been ran successfully in editor and it’s even opened a Weweb support chat. But it doesn’t work in published project at all.

Guys be happy for an any advise!

---

<div class="post-metadata">

**Author:** ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)\
**Post date:** [January 18, 2023, 10:43am UTC](https://community.weweb.io/t/how-to-run-js-with-a/1723/2 "2023-01-18T10:43:08Z")

</div>

I think that you are not loading your own crisp.  
Inside the editor it’s working because you are using our own crips, the weweb one for support on the editor.  
This is why this is not working on production, as our crisp is not present on your published app
