public
abstract
Object
getValue(String macroName, Map<String, Object> parameters)
Handler is given the macro name and a map of named parameters (the map may contain String,
Double, Boolean, Map, or List values). It should return an
object which is the calculated value of the macro.
The macroName is the same name by which the handler was registered. It's provided
as a convenience to allow a single handler to be registered for multiple function call
macros.
[[["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-09 UTC."],[[["The `Container.FunctionCallMacroHandler` interface allows applications to define custom macros within Google Tag Manager."],["Implementations of this interface must provide a `getValue` method, which calculates and returns the macro's value based on its name and parameters."],["The `getValue` method receives the macro name and a map of parameters, supporting various data types like String, Double, Boolean, Map, and List."],["The returned value from the `getValue` method can be a String, Boolean, Integer, Long, or Double, representing the calculated result of the custom macro."]]],[]]