title: How to execute JavaScript after commandButton completed and without ajax?
body: <p>I'm using JSF 2 and Primefaces 5 and I want to track a google adwords conversion after commandButton completed successfully AND without "thank you" page. I can't use ajax because I'm performing a lot of backing bean validation. <br><br>
  I read many threads dealing with google adwords like <a href="https://stackoverflow.com/questions/27149647/how-to-implement-a-google-adwords-conversion-pixel-using-ajax-on-a-submit-butt/27149886?noredirect=1#comment42795611_27149886">this one</a>, so this part is not a problem. But how can I execute the javascript after commandButton? Thanks</p>