หากต้องการขยายฟังก์ชันการทำงานของ Google Tag Manager ให้เพิ่มตัวแปรการเรียกใช้ฟังก์ชันและแท็กการเรียกใช้ฟังก์ชัน ตัวแปรการเรียกใช้ฟังก์ชันช่วยให้คุณบันทึกค่าที่แสดงผลจากการเรียกฟังก์ชันที่บันทึกไว้ล่วงหน้าได้ แท็กการเรียกฟังก์ชันช่วยให้คุณเรียกใช้ฟังก์ชันที่ลงทะเบียนล่วงหน้าได้ (เช่น เพื่อเรียกใช้ Hit สําหรับเครื่องมือการวัดและรีมาร์เก็ตติ้งเพิ่มเติมซึ่งปัจจุบันยังไม่รองรับเทมเพลตแท็กใน Tag Manager)
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2024-11-08 UTC"],[[["Function Call variables enable capturing values from pre-registered function calls, extending Google Tag Manager's capabilities."],["Function Call tags allow execution of pre-registered functions, such as triggering hits for unsupported measurement tools."],["Custom tags and variables can be added by implementing a class extending `CustomTagProvider` or `CustomVariableProvider`."],["ProGuard users should prevent obfuscation of custom class names and methods using the Keep annotation."],["Within the Google Tag Manager interface, use the fully qualified class name to configure the custom tags and variables."]]],["Function Call variables and tags extend Google Tag Manager's functionality. Function Call variables capture values from pre-registered function calls, while Function Call tags execute pre-registered functions. To add custom tags/variables, implement a class extending `CustomTagProvider` or `CustomVariableProvider`. Use the `@Keep` annotation to prevent obfuscation with ProGuard. Finally, configure tags and variables in Google Tag Manager's web interface using the fully qualified class name.\n"]]