[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2023-10-27。"],[[["This guide provides step-by-step instructions to create a custom variable template in Google Tag Manager."],["This template transforms an array of values into a comma-separated string using JavaScript code within the template."],["The template utilizes fields like 'list', 'array', 'use_array', 'sort', and 'delimiter' to customize its functionality."],["Users can preview and test the template using the 'Template Preview' and 'Console' sections within the editor."],["Once saved, the custom variable template is ready to be implemented within Google Tag Manager."]]],["To create a variable template that returns a comma-delimited string from an array, start by creating a new template, defining its name and description in the *Info* tab. Then, in the *Fields* tab, add fields for a simple table (\"list\"), text input (\"array\"), checkboxes (\"use_array\", \"sort\"), and text input (\"delimiter\"). In the *Code* tab, enter sandboxed JavaScript to process these fields, joining the array with the specified delimiter, and save. Then preview the result and save the variable.\n"]]