Google 태그 관리자의 기능을 확장하려면 함수 호출 변수 및 함수 호출 태그를 추가하세요. 함수 호출 변수를 사용하면 사전 등록된
함수 호출에서 반환된 값을 캡처할 수 있습니다. 함수 호출 태그를 사용하면
사전 등록된 함수를 실행할 수 있습니다(예:
현재 태그 관리자의 태그 템플릿에서 지원되지 않는 추가 측정 및 리마케팅 도구에 대한 조회를
트리거하는 경우).
맞춤 태그 및 변수 추가
함수 호출로 맞춤 태그 또는 맞춤 변수를 추가하려면 다음 안내를 따르세요.
다음과 같이 com.google.android.gms.tagmanager.CustomTagProvider 또는 com.google.android.gms.tagmanager.CustomVariableProvider를 확장하는
클래스를
구현합니다.
[[["이해하기 쉬움","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"]]