Google Tag Manager Errors

Thảo luận trong 'Google Analytics' bắt đầu bởi KetHuynh, 4/3/17.

  1. KetHuynh

    KetHuynh Administrator Thành viên BQT

    Data layer variable name in wrong case: "conversionID", "PageCategory", "pageSubcategory", "visitorId", etc.
    The Data Layer variable name is case-sensitive. If you try to push a variable or event without the proper casing, the push will not work.

    Examples:

    • datalayer.push({"pageTitle": "Home"}); // Won't work
    • datalayer.push({"PageTitle": "Home"}); // Better
    This means that the data layer variable has not been correctly set up, and this will hamper the tags fired based on these data layers.

    Correct the data layer to the correct case.
     
  2. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <flow:ifenabled>
    The Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  3. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <ns:robots>
    Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  4. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <center>
    Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  5. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <dl>
    Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  6. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <footer>
    Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  7. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <form>
    Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  8. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <header>
    Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  9. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <i>
    Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  10. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <p>
    Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  11. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <section>
    Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  12. KetHuynh

    KetHuynh Administrator Thành viên BQT

    <script> tag must not be included in a <span>
    Google Tag Manager Tag should be placed immediately after the opening <body> tag and not inside any other HTML element. The Google Tag Manager snippet must be placed directly in the page that you intend on tracking. Placing it in a hidden iframe or deploying it within another tag management system will prevent certain tags from accurately tracking the parent page.

    Tags added via Google Tag Manager may not fire.

    Please make sure to place the Tag Manager snippet immediately after the opening <body> tag.
     
  13. KetHuynh

    KetHuynh Administrator Thành viên BQT

    Data layer needs to be above the container snippet
    Datalayer should be added above the container snippet. Variables pushed to the data layer after the container snippet will not be able to fire tags on page loads with a matching condition.

    Variables pushed to the data layer after the container snippet will not be able to fire tags on page loads with a matching condition.

    Move the datalayer to above the container snippet
     
  14. KetHuynh

    KetHuynh Administrator Thành viên BQT

    HTTP response code indicates tag failed to fire
    This error indicates that even though Google Tag Manager code snippet was detected in the page source, the script itself did not execute. Each time the Google Tag Manager script executes, we expect an HTTP Response carrying the container tag details.

    This means that Google Tag Manager code is not correctly implemented, because of which any tags added via Google Tag Manager will not be fired.

    Remove the current snippet. Get the snippet again from the Google Tag Manager interface and make sure to paste it immediately after the opening <body> tag.
     
  15. KetHuynh

    KetHuynh Administrator Thành viên BQT

    Remove the "." from your dataLayer name dataLayer.2_variables. It may cause issues with tracking.
    We discourage people from using a "." in dataLayer key names. Example: dataLayer.push({"one.two": 3}); Not recommended dataLayer.push({"onetwo": 3}); Recommended

    This may cause issues with tag execution.

    Don't use a "." in dataLayer key names.
     
  16. KetHuynh

    KetHuynh Administrator Thành viên BQT

    Remove the "." from your dataLayer name order.grand_total. It may cause issues with tracking.
    We discourage people from using a "." in dataLayer key names. Example: dataLayer.push({"one.two": 3}); Not recommended dataLayer.push({"onetwo": 3}); Recommended

    This may cause issues with tag execution.

    Don't use a "." in dataLayer key names.
     
  17. KetHuynh

    KetHuynh Administrator Thành viên BQT

    Remove the "." from your dataLayer name order.order_id. It may cause issues with tracking.
    We discourage people from using a "." in dataLayer key names. Example: dataLayer.push({"one.two": 3}); Not recommended dataLayer.push({"onetwo": 3}); Recommended

    This may cause issues with tag execution.

    Don't use a "." in dataLayer key names.
     
  18. KetHuynh

    KetHuynh Administrator Thành viên BQT

    Remove the "." from your dataLayer name order.shipping_charges. It may cause issues with tracking.
    We discourage people from using a "." in dataLayer key names. Example: dataLayer.push({"one.two": 3}); Not recommended dataLayer.push({"onetwo": 3}); Recommended

    This may cause issues with tag execution.

    Don't use a "." in dataLayer key names.
     
  19. KetHuynh

    KetHuynh Administrator Thành viên BQT

    Remove the "." from your dataLayer name order.sub_total_eu. It may cause issues with tracking.
    We discourage people from using a "." in dataLayer key names. Example: dataLayer.push({"one.two": 3}); Not recommended dataLayer.push({"onetwo": 3}); Recommended

    This may cause issues with tag execution.

    Don't use a "." in dataLayer key names.
     
  20. KetHuynh

    KetHuynh Administrator Thành viên BQT

    Remove the "." from your dataLayer name order.tax. It may cause issues with tracking.
    We discourage people from using a "." in dataLayer key names. Example: dataLayer.push({"one.two": 3}); Not recommended dataLayer.push({"onetwo": 3}); Recommended

    This may cause issues with tag execution.

    Don't use a "." in dataLayer key names.
     

Chia sẻ trang này