Cart gamification code support

Hello,

We are trying to make a “progress” bar that dynamically updates whenever a customer reaches a certain threshold on money spent on the checkout.

For example, spend 50$ and on top there’s a notification that says free shipping unlocked.

What I need is the variable for the price to make this happen. How do we refer to the total order amount through JS on Funnelish?

Which step/stage/page of a funnel you want to show this notifications?