My case is the following:
I need to output in the document a google analytics script after a custom contact form has been submitted, i have thought about many things like:
- layout handles
How can I achieve this?
More details: After successful send, the controller doues a page redirect to the same url also outputs a success message.