Google Tag Manager पर माइग्रेट करना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Google Tag Manager का ज़्यादा से ज़्यादा फ़ायदा पाने के लिए, आपको अपने सभी (या ज़्यादा से ज़्यादा) टैग को Tag Manager में माइग्रेट करना होगा. सुझाया गया तरीका
नीचे दिया गया है:
अपनी साइट को मैप करना (ज़रूरी नहीं)
इस बारे में सोचें कि किन टैग को शायद आपने अपनी साइट पर इस्तेमाल किया है. इस बारे में सोचें
कि किन कार्रवाइयों (इवेंट) को ट्रैक करना है और किस डेटा (वैरिएबल) को
इकट्ठा करना है. टैग का मैप बनाएं, इकट्ठा किया जाने वाला डेटा, और
कौन-कौनसे इवेंट या पेजों को आप उन टैग के साथ जोड़ना चाहते हैं.
अपनी साइट पर Tag Manager कोड इंस्टॉल करना
अपनी साइट को मैप करने के बाद, अपनी साइट पर Tag Manager कंटेनर टैग इंस्टॉल करें और उसे डिप्लॉय करें. ज़्यादा जानकारी के लिए, इंस्टॉलेशन से जुड़े दिशा-निर्देश पढ़ें.
इवेंट और वैरिएबल जोड़ना
इवेंट गाइडेंस में बताए गए तरीकों की मदद से, Google Tag Manager को अपने हिसाब से बनाएं.
Tag Manager में टैग और उनसे जुड़े ट्रिगर को कॉन्फ़िगर करें
साइट पर Tag Manager इंस्टॉल करने के बाद, आपको अपने साइट टैग को यूज़र इंटरफ़ेस में जोड़ना चाहिए. इस समय प्रकाशित न करें. बस अपनी साइट से
टैग मैनेजर में सही टैग टेंप्लेट और ट्रिगर के साथ टैग जोड़ें और कॉन्फ़िगर करें. ट्रिगर के बारे में ज़्यादा जानें.
आखिरी माइग्रेशन स्वैप
आखिरी चरण में आप अपने पुराने टैग को एक साथ स्वैप करते हैं और
अपने टैग Google Tag Manager में प्रकाशित करते हैं. कुछ ही मिनटों में, आप ये काम करने लगेंगे:
- एक ही कोड पुश में अपने साइट टैग हटाना
- यह पुश पूरा होने के बाद, अपने कंटेनर वर्शन के लिए "पब्लिश करें" बटन दबाएं.
इस तरीके से डेटा में थोड़ा अंतर हो सकता है. हालांकि, शुरुआती बदलाव पूरा होने के बाद, कोई गैप नहीं दिखेगा. इसके अलावा, साइट पर किए गए बदलावों को लाइव करने से पहले, ऑर्डर को यहां बदला जा सकता है और पब्लिश किया जा सकता है. इससे मामूली डेटा गैप के बजाय
एक बार का डेटा डुप्लीकेट हो सकता है.
Tag Manager में माइग्रेशन की शुरुआती प्रोसेस पूरी करने के बाद, Tag Manager के इंटरफ़ेस में कोड में बदलाव किए बिना, टैग के कॉन्फ़िगरेशन की सभी ज़रूरी शर्तों को मैनेज किया जा सकता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-07-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-07-29 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eMigrate all existing website tags to Google Tag Manager for centralized management.\u003c/p\u003e\n"],["\u003cp\u003eMap your website's tags, data, and events for a smooth transition.\u003c/p\u003e\n"],["\u003cp\u003eInstall Tag Manager code, add events and variables, and configure tags within the interface.\u003c/p\u003e\n"],["\u003cp\u003eSwap out old tags with the new Tag Manager setup to complete the migration.\u003c/p\u003e\n"],["\u003cp\u003eManage future tag configurations without code changes through the Tag Manager interface.\u003c/p\u003e\n"]]],["To utilize Google Tag Manager, migrate existing tags by mapping your site's tags, data, and events. Install the Tag Manager code, then customize it with events and variables. Configure tags and triggers within Tag Manager's interface. Lastly, simultaneously remove old site tags and publish the configured tags in Tag Manager, which you can do in a few minutes. After migration, future tag adjustments occur through Tag Manager's interface without code changes.\n"],null,["# Migrate to Google Tag Manager\n\nTo gain the most value from Google Tag Manager, you should migrate all (or as\nmany as possible) of your existing tags into Tag Manager. The recommended steps\nare as follows:\n\n1. **Map your site (optional)**\n\n Think about which tags you might currently have deployed on your site. Think\n about what actions (events) you want to track and what data (variables)\n you'll want to collect. Create a map of tags, the data to be collected, and\n which events or pages you want to associate with those tags.\n2. **Install the Tag Manager code on your site**\n\n Once you've mapped your site, install the Tag Manager container tag on your\n site and deploy it. Read the [installation guidance](https://support.google.com/tagmanager/answer/14842164) for more information.\n3. **Add Events and Variables**\n\n Customize your Google Tag Manager installation using the methods outlined in\n the [events guidance](/tag-platform/devguides/events).\n4. **Configure tags and their associated triggers in Tag Manager**\n\n Once Tag Manager is installed on your site, you should add your site tags to\n the user interface. DO *NOT* publish at this time. Simply add and configure\n the tags from your site in Tag Manager with appropriate tag templates and\n triggers. [Learn more about triggers](https://support.google.com/tagmanager/topic/7679384).\n5. **Final migration swap**\n\n The last step is where you simultaneously swap out your old tags and publish\n your tags in Google Tag Manager. Within a few minutes of each other, you'll\n want to:\n - Remove your site tags in a single code push\n - Once you know this push is successful, press the \"Publish\" button for your container version.\n\n This method might cause a small gap in data, but once the initial swap is\n complete, no more gaps will appear. Alternatively, you could swap the order\n here and publish shortly before your site changes go live. This might cause\n minor, one-time data duplication instead of a small data gap.\n\nAfter you've completed the initial migration to Tag Manager, any subsequent tag\nconfiguration needs can be handled without code changes via the Tag Manager\ninterface."]]