Streaming live at 10am (PST)

Need help with Javascript

I’m trying to implement this code in my site which will tell me if someone adds something to the cart. I understand I need to substitute the info on the right with variable tags… but for information like "value" (which I assume is cart total) and “addeditemquantity”, what do I put there so it pulls the right info?

Here’s the full example code I’m referring to:

Here is my site Read-Only: