Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Чтобы расширить функциональность Диспетчера тегов 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-18 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"]]