संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Google Tag Manager की सुविधाओं को बेहतर बनाने के लिए, फ़ंक्शन कॉल वैरिएबल और फ़ंक्शन कॉल टैग जोड़े जा सकते हैं. फ़ंक्शन कॉल वैरिएबल की मदद से, पहले से रजिस्टर किए गए फ़ंक्शन के कॉल से मिलने वाली वैल्यू कैप्चर की जा सकती हैं. फ़ंक्शन कॉल टैग की मदद से, पहले से रजिस्टर किए गए फ़ंक्शन चलाए जा सकते हैं. उदाहरण के लिए, अतिरिक्त मेज़रमेंट और रीमार्केटिंग टूल के लिए हिट ट्रिगर करना, जो फ़िलहाल Google Tag Manager में टैग टेंप्लेट के साथ काम नहीं करते.
कस्टम टैग बनाने के लिए, ऐसी क्लास बनाएं जो TAGCustomFunction प्रोटोकॉल को लागू करती हो:
@implementationMYCustomTag<TAGCustomFunction>-(NSObject*)executeWithParameters:(NSDictionary*)parameters{// Add custom tag implementation here.}@end
कस्टम वैरिएबल बनाने के लिए, ऐसी क्लास बनाएं जो
TAGCustomFunction प्रोटोकॉल को लागू करती हो:
@implementationMYCustomVariable<TAGCustomFunction>-(NSObject*)executeWithParameters:(NSDictionary*)parameters{// Return the value of the custom variable.return@42;}@end
TAGCustomFunction की मदद से क्लास सेट अप करने के बाद, 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 and tags in Google Tag Manager enhance its capabilities by interacting with pre-registered functions. Both utilize a class implementing the `TAGCustomFunction` protocol, with the `executeWithParameters` method defining their behavior. For a tag, this method executes custom logic; for a variable, it returns a value. After implementing the protocol in the class, you can use the Tag Manager web interface to create tags or variables by referencing the class name.\n"]]