- Download the file:
template.tpl
- In Google Tag Manager, navigate to the Templates section and click New under Variable Templates
- In the template editor, click the three-dot menu in the top-right corner and select Import
- Select the downloaded
ecommerce-items-array-map.tpl
file from your computer
Note: Always import into a new template to avoid overwriting any same existing template.