...
Right-click and save the template files on your computer.
All files are named
temlatetemplate.tpl
(as required by GTM).
...
The setup of the client side templates (in the client side container) should be done first. See description above for onpage tag and conversion tag.
Important: For the client side templates, that are supposed to send data to the server side container, the tracking domain needs to be the tracking domain of your google tag manager.
...