ÈËÉú¾ÍÊDz©¡¤(Öйú)×ðÁúAGÆì½¢Ìü

ÈËÉú¾ÍÊDz©¡¤(Öйú)×ðÁúAGÆì½¢Ìü(LianLian Global)¹ÙÍøÊ×Ò³

Google ¸ú×Ù´úÂëÖÎÀíÆ÷

2022/05/26

Google ¸ú×Ù´úÂëÖÎÀíÆ÷

Shopify Plus

Google Tag Manager ½öÊÊÓÃÓÚʹÓà Shopify Plus Ìײ͵ÄÊÐËÁ¡£ ¡£¡£¡£¡£

±¾Ò³Ïà¹ØÖ÷Ìâ

ʹÓà Google Tag Manager µÄ×¢ÖØÊÂÏî

ÈôÒª¶Ô Shopify Plus µÄÔÚÏßÊÐËÁʹÓà Google Tag Manager£¬£¬ £¬£¬£¬ÇëÖ´ÐÐÒÔϲÙ×÷£º

½« Google ¸ú×Ù´úÂëÖÎÀíÆ÷´úÂëÌí¼Óµ½ÄúµÄÄ£°åÖÐ

°ì·¨£º

  1. ×°ÖàGoogle ¸ú×Ù´úÂëÖÎÀíÆ÷ ÒÔ»ñÈ¡ÄúÐèÒª¸´ÖƲ¢Õ³Ìùµ½ Shopify ÊÐËÁÖеĴúÂëÆ¬¶Ï¡£ ¡£¡£¡£¡£ÓÉÓÚ Shopify ʹÓÃÄ£°å£¬£¬ £¬£¬£¬Òò´ËÄúÖ»Ð轫´úÂëÆ¬¶Ï¸´ÖƵ½ theme.liquid ºÍ checkout.liquid Îļþ¡£ ¡£¡£¡£¡£

  2. ÔÚ Shopify ºǫ́£¬£¬ £¬£¬£¬µã»÷ÔÚÏßÊÐËÁ£¬£¬ £¬£¬£¬È»ºóµã»÷Ä£°å¡£ ¡£¡£¡£¡£

  3. ÔÚÄ£°åÏÂÀ­²Ëµ¥ÖУ¬£¬ £¬£¬£¬µã»÷±à¼­´úÂë¡£ ¡£¡£¡£¡£

  4. ½« Google Tag Manager ÖеĵÚÒ»¸ö´úÂëÆ¬¶Ï¸´ÖƵ½ÄúµÄ theme.liquid ºÍ checkout.liquid ´úÂëµÄ <head> ±ê¼ÇÖУº

    1. ¸´ÖÆ Google ¸ú×Ù´úÂëÖÎÀíÆ÷ÖеĵÚÒ»¸ö´úÂëÆ¬¶Ï

    2. ÔÚÄúµÄ Shopify ºǫ́ÖУ¬£¬ £¬£¬£¬·­¿ª theme.liquid Îļþ¡£ ¡£¡£¡£¡£

    3. ½«´úÂëÆ¬¶ÏÕ³Ìùµ½ theme.liquid ´úÂëµÄ <head> Öо¡¿ÉÄܸߵÄλÖᣠ¡£¡£¡£¡£

    4. ·­¿ªÄúµÄ checkout.liquid Îļþ¡£ ¡£¡£¡£¡£

    5. ½«´úÂëÆ¬¶ÏÕ³Ìùµ½ checkout.liquid ´úÂëµÄ <head> Öо¡¿ÉÄܸߵÄλÖᣠ¡£¡£¡£¡£

  5. ½« Google ¸ú×Ù´úÂëÖÎÀíÆ÷Öеĵڶþ¸ö´úÂëÆ¬¶Ï¸´ÖƵ½ÄúµÄ theme.liquid ºÍ checkout.liquid ´úÂëµÄ <body> ±êÇ©£º

    1. ÔÚÄúµÄ Shopify ºǫ́£¬£¬ £¬£¬£¬·­¿ª theme.liquid Ò³Ãæ¡£ ¡£¡£¡£¡£

    2. ½«´úÂëÆ¬¶ÏÕ³Ìùµ½ theme.liquid Ò³ÃæµÄ <body> Öо¡¿ÉÄÜ¿¿Ç°µÄλÖᣠ¡£¡£¡£¡£

    3. ·­¿ª checkout.liquid Ò³Ãæ¡£ ¡£¡£¡£¡£

    4. ½«´úÂëÆ¬¶ÏÕ³Ìùµ½ checkout.liquid ´úÂëµÄ <body> Öо¡¿ÉÄܸߵÄλÖᣠ¡£¡£¡£¡£

  6. ÔÚ Shopify ºǫ́£¬£¬ £¬£¬£¬µã»÷ÉúÑÄ¡£ ¡£¡£¡£¡£

  7. ÔÚ Google Tag Manager ÖУ¬£¬ £¬£¬£¬¼ÌÐø×°Öà Google Tag Manager¡£ ¡£¡£¡£¡£µ±ÏµÍ³ÌáÐÑÄúÌí¼Ó±ê¼Çʱ£¬£¬ £¬£¬£¬ÇëÎðÌí¼ÓÒÔÏÂÀàÐ͵ıê¼Ç£º

ÑéÖ¤ÊÇ·ñÒÑ×°Öà Google ¸ú×Ù´úÂëÖÎÀíÆ÷

ÒªÑéÖ¤ÄúÊÇ·ñÒÑ׼ȷװÖà Google ¸ú×Ù´úÂëÖÎÀíÆ÷£¬£¬ £¬£¬£¬Äú¿ÉÒÔʹÓãº

Ïà¹ØÁ´½Ó

ShopifyÉÌ»§¹ÙÍøÔ­ÎÄÏêÇ飺

Google Tag Manager

Shopify Plus

Google Tag Manager is available only to stores on the Shopify Plus plan.

On this page

Considerations for using Google Tag Manager

To use Google Tag Manager with your Shopify Plus online store, you do the following:

Add Google Tag Manager code to your theme

Steps:

  1. Install Google Tag Manager to get the code snippets that you will need to copy and paste into your Shopify store. Because Shopify uses templates, you only need to copy the snippets into the theme.liquid and checkout.liquid files.

  2. In your Shopify admin, click Online store, and then click Themes.

  3. In the theme drop-down, click Edit Code.

  4. Copy the first code snippet from Google Tag Manager into the <head> tags of your theme.liquid and checkout.liquid code:

    1. Copy the first code snippet from Google Tag Manager

    2. In your Shopify admin, open your theme.liquid file.

    3. Paste the code snippet as high in the <head> of the theme.liquid code as possible.

    4. Open your checkout.liquid file.

    5. Paste the code snippet as high in the <head> of the checkout.liquid code as possible.

  5. Copy the second code snippet from the Google Tag Manager into the <body> tags of your theme.liquid and checkout.liquid code:

    1. In your Shopify admin, open the theme.liquid page.

    2. Paste the code snippet as high in the <body> of the theme.liquid page as possible.

    3. Open the checkout.liquid page.

    4. Paste the code snippet as high in the <body> of the checkout.liquid code as possible.

  6. In your Shopify admin, click Save.

  7. In Google Tag Manager, continue installing the Google Tag Manager. When prompted to add tags, do not add the following types of tags:

Verify that Google Tag Manager is installed

To verify that you installed Google Tag Manager properly, you can use:

Related links


ÎÄÕÂÄÚÈÝȪԴ£ºShopifyÉÌ»§¹Ù·½ÍøÕ¾

¸ü¶à
¡¾ÍøÕ¾µØÍ¼¡¿¡¾sitemap¡¿