קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
פרויקט Accelerated Mobile Pages (AMP) הוא פלטפורמת אינטרנט בקוד פתוח שעוזרת לשפר את הביצועים של תוכן האינטרנט. טכנולוגיית AMP כוללת תמיכה מובנית ב-Google Tag וב-Google Tag Manager. במדריך הזה מוסבר איך להגדיר את Google Analytics לדפי AMP.
התקנה
Google Tag מאפשר להתקין את Google Analytics, את Google Ads ומוצרים אחרים של Google בדפי AMP. Google Tag Manager מגדיר מאגר תגים של AMP ומאפשר ליצור הגדרות מתקדמות ולפרוס תגים של צד שלישי מהממשק של Tag Manager.
בוחרים את הפלטפורמה המועדפת באמצעות הלחצנים הבאים:
פתרון בעיות
צריך להשתמש בכתובת amptagtest.appspot.com כדי לאמת את הגדרת התיוג. לחלופין, אפשר לוודא שהערך של cid עקבי בכל הדומיינים באמצעות הפעולות הבאות:
חשוב לנקות את קובצי ה-cookie או להשתמש במצב פרטי.
אם cid לא נמצא בקובץ cookie של Google Analytics, אפשר לראות אותו גם בכרטיסייה 'רשת' בדפדפן האינטרנט. מחפשים את collect request, והמטען הייעודי (payload) אמור להכיל את הערך cid.
אחרי ההעברה מ-CDN של Google לאתר הלקוח, יש להעביר את הערך cid והערך gclid באמצעות קישוט של כתובת URL:
[[["התוכן קל להבנה","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-02-06 (שעון UTC)."],[],["The core content outlines setting up Google Analytics on Accelerated Mobile Pages (AMP). It details using the Google tag for Analytics and other Google products, or Google Tag Manager for advanced configurations and third-party tags, noting Tag Manager's incompatibility with Google Analytics 4. Troubleshooting involves using amptagtest.appspot.com or manually checking for consistent `cid` values across domains, ensuring `cid` and `gclid` are passed via URL decoration and are the same as initial values, while being cautious with redirects.\n"]]