प्रोटोकॉल-रिलेटिव यूआरएल का इस्तेमाल करने के लिए Tag Manager को कॉन्फ़िगर करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टैग डेटा को सुरक्षित रखने के लिए, Google Tag Manager कंटेनर टैग, संसाधनों (जैसे, https://www.googletagmanager.com) को लोड करने के लिए एचटीटीपीएस का इस्तेमाल करता है.
अगर आपको अपने Tag Manager कंटेनर को प्रोटोकॉल के हिसाब से लोड करना है, तो अपने कंटेनर कोड में प्रोटोकॉल को https:// के बजाय // पर सेट करें.
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXX');</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXXXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
प्रोटोकॉल-रिलेटिव यूआरएल का इस्तेमाल करने पर, कंटेनर को http:// का इस्तेमाल करने वाले पेजों पर एचटीटीपी के ज़रिए और https:// का इस्तेमाल करने वाले पेजों पर एचटीटीपीएस के ज़रिए लोड किया जाता है.
Tag Manager कंटेनर कोड के पुराने वर्शन में, कंटेनर को लोड करने के लिए प्रोटोकॉल-रिलेटिव यूआरएल का इस्तेमाल किया जाता था (यानी, //www.googletagmanager.com).
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) को अपडेट किया गया."],[[["Google Tag Manager container tag uses HTTPS by default for enhanced security."],["You can switch to a protocol-relative URL (//) for flexible loading based on the page's protocol (HTTP or HTTPS)."],["Existing protocol-relative implementations of Tag Manager containers will continue to function."],["Ensure custom tags on secure pages are set up with protocol-relative or secure URLs for consistent security."]]],["Google Tag Manager uses HTTPS to load resources for security. Users can opt for protocol-relative loading by changing the container code's protocol to `//` instead of `https://`. This method ensures the container loads via HTTP or HTTPS depending on the page's protocol. Older container codes used protocol-relative URLs and remain functional. Custom tags firing on secure pages should also be protocol-relative or secure. The example codes are provided to implement this.\n"]]