I need to add Javascript script box to the Success Page of the form. Is there a hook (or something else?) I can use to do this? Could you also show me some example of the implementation code?
I have tried adding the following script code to the "Confirmation message" in the Form Editor but it only gets triggered a fraction of the times it is supposed to be ( Eg. I get 20 enquires[form fills] in 1 day, but analytics script only gets triggered 3-4 times. This is why I want to try something different, and add the script code below using a hook (or whatever the term is).
<script type="text/javascript">
var funnel_url="/applications/debt-consolidation-loan?step=complete";
_gaq.push(['_trackPageview',funnel_url]);
</script>
Many thanks.
ps. running Gravity Forms 1.3.13.1