I think you can just the -script parameter to template::head::add_javascript e.g. https://openacs.org/api-doc/proc-view?proc=template::head::add_javascript&source_p=1
Brian
Thanks for the tip. Yes, they work indeed. However, I was looking for a standard approach to add new arguments to a ad_proc call.
So, I've written a new version of template::head::add_javascript .
Basically, I copied and pasted 100% of that ad_proc, then I added custom code to extend and support Google parameters. It worked beautifully!
Happy Easter! I