CustomTagProvider
Stay organized with collections
Save and categorize content based on your preferences.
Callback that is provided by the application to execute a custom tag.
Public Methods
public abstract void
execute
( Map
< String
, Object
>
parameters)
execute(Map)
is given the map of named parameters (the map may contain
String, Double, Boolean, Map, or List values).
This function will be called from a background thread during event processing. The
container will cache one instance of this object and reuse it.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eCustomTagProvider\u003c/code\u003e is an interface used by applications to execute custom tags.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a single method, \u003ccode\u003eexecute\u003c/code\u003e, which takes a map of parameters as input.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eexecute\u003c/code\u003e method is called from a background thread and receives parameters as String, Double, Boolean, Map, or List values.\u003c/p\u003e\n"],["\u003cp\u003eContainer will reuse a single cached instance of the \u003ccode\u003eCustomTagProvider\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# CustomTagProvider\n\npublic interface **CustomTagProvider** \nCallback that is provided by the application to execute a custom tag. \n\n### Public Method Summary\n\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract void | [execute](/android/reference/com/google/android/gms/tagmanager/CustomTagProvider#execute(java.util.Map\u003cjava.lang.String,%20java.lang.Object\u003e))([Map](//developer.android.com/reference/java/util/Map.html)\\\u003c[String](//developer.android.com/reference/java/lang/String.html), [Object](//developer.android.com/reference/java/lang/Object.html)\\\u003e parameters) [execute(Map)](/android/reference/com/google/android/gms/tagmanager/CustomTagProvider#execute(java.util.Map\u003cjava.lang.String,%20java.lang.Object\u003e)) is given the map of named parameters (the map may contain String, Double, Boolean, Map, or List values). |\n\nPublic Methods\n--------------\n\n#### public abstract void **execute** ([Map](//developer.android.com/reference/java/util/Map.html)\\\u003c[String](//developer.android.com/reference/java/lang/String.html), [Object](//developer.android.com/reference/java/lang/Object.html)\\\u003e parameters)\n\n[execute(Map)](/android/reference/com/google/android/gms/tagmanager/CustomTagProvider#execute(java.util.Map\u003cjava.lang.String,%20java.lang.Object\u003e)) is given the map of named parameters (the map may contain\nString, Double, Boolean, Map, or List values).\n\nThis function will be called from a background thread during event processing. The\ncontainer will cache one instance of this object and reuse it."]]