I'm developing a Backdrop CMS website with Ubercart. It is necessary to place code for Google tag and event snippet on the conversion page in order to to link this website to Google ads system.
Placing the Google tag seems easy to me - by editing <head></head> section in template page.tpl.php in theme's template folder. This I guess should put the code on all pages on the site.
However, the code for the snippet on the conversion page should only be available on the completed order page:
I considered the possibility of doing this with a separate layout for
but the code in a given layout is only what is between <body> and </body> while the snippet on the conversion page should be put in the <head></head> section of the page, and it is managed by template page .tpl.php and it seems is the same for all layouts.
Is it possible to make a custom page.tpl.php which template is only active for cart/checkout/complete page?
Or in some other way to add event snippet code in <head></head> section only on the conversion page?
Thanks in advance for any idea or direction to solve this task.