واجهة برمجة تطبيقات إدارة العلامات - مرجع قاموس العلامات

يصف هذا المستند المَعلمات التي يمكن ضبطها لعلامات "إدارة العلامات من Google".

مقدمة

تحتوي كل علامة في أداة "إدارة العلامات من Google" على رمز type لتحديد العلامة. بالإضافة إلى ذلك، تحتوي معظم العلامات على مَعلمات (مثل key أو type أزواج) يمكنك ضبطها كجزء من "كائن المَعلمة" عند إنشاء علامة أو تعديلها. لمعرفة المزيد عن كيفية ضبط هذه المعلَمات باستخدام كائن معلَمات، يمكنك الاطّلاع على مرجع المعلَمة.

يسرد الجزء المتبقي من هذا المستند تفاصيل جميع العلامات المتوافقة لكل من الويب والأجهزة الجوّالة.

علامات الويب

علامة HTML المخصّصة

رمز النوع

html

المَعلمات
المفتاح Type
html template
convertJsValuesToExpressions boolean
usePostscribe boolean
مثال
{
  "liveOnly": false,
  "name": "Sample Custom HTML",
  "parameter": [
    {
      "key": "html",
      "type": "template",
      "value": "<script>alert('hello world')</script>"
    },
    {
      "key": "convertJsValuesToExpressions",
      "type": "boolean",
      "value": "true"
    },
    {
      "key": "usePostscribe",
      "type": "boolean",
      "value": "false"
    }
  ],
  "type": "html"
}

علامة الصورة المخصّصة

رمز النوع

img

المَعلمات
المفتاح Type
useCacheBuster boolean
url template
cacheBusterQueryParam template
مثال
{
  "liveOnly": false,
  "name": "Sample Custom Image Tag",
  "parameter": [
    {
      "key": "useCacheBuster",
      "type": "boolean",
      "value": "true"
    },
    {
      "key": "url",
      "type": "template",
      "value": "//{{a}}"
    },
    {
      "key": "cacheBusterQueryParam",
      "type": "template",
      "value": "gtmcb"
    }
  ],
  "type": "img"
}

أدوات معالجة الأحداث

أداة معالجة النقرة على رابط

رمز النوع

lcl

المَعلمات
المفتاح Type Notes
checkValidation boolean
waitForTags boolean
waitForTagsTimeout template عدد المللي ثانية.
حدد وقت waitForTags=true.
مثال
{
   "name": "Sample Link Click Listener",
   "liveOnly": false,
   "parameter": [
    {
     "type": "boolean",
     "key": "waitForTags",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "checkValidation",
     "value": "true"
    },
    {
     "type": "template",
     "key": "waitForTagsTimeout",
     "value": "2000"
    }
   ],
   "type": "lcl",
  }

نموذج إرسال نموذج المستمع

رمز النوع

fsl

المَعلمات
المفتاح Type Notes
waitForTags boolean
checkValidation boolean
waitForTagsTimeout template عدد المللي ثانية.
حدِّد وقت waitForTags=true.
مثال
{
  "liveOnly": false,
  "name": "Sample Form Submit Listener",
  "parameter": [
    {
      "key": "waitForTags",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "checkValidation",
      "type": "boolean",
      "value": "false"
    }
  ],
  "type": "fsl"
}

النقر على أداة الاستماع

رمز النوع

cl

المَعلمات

لا ينطبق

مثال
{
  "liveOnly": false,
  "name": "Sample Click Listener",
  "type": "cl"
}

أداة الاستماع إلى الموقّت

رمز النوع

tl

المَعلمات
المفتاح Type Notes
eventName template
interval template عدد المللي ثانية
limit template الحد الأقصى لعدد مرات التنشيط
مثال
{
  "liveOnly": false,
  "name": "Sample Timer Listener",
  "parameter": [
    {
      "key": "eventName",
      "type": "template",
      "value": "gtm.timer"
    },
    {
      "key": "interval",
      "type": "template",
      "value": "{{a}}"
    },
    {
      "key": "limit",
      "type": "template",
      "value": "5"
    }
  ],
  "type": "tl"
}

أداة معالجة أخطاء JavaScript

رمز النوع

jel

المَعلمات

لا ينطبق

مثال
{
  "liveOnly": false,
  "name": "Sample JavaScript Error Listener",
  "type": "jel"
}

أداة معالجة السجلّ

رمز النوع

hl

المَعلمات

لا ينطبق

مثال
{
  "liveOnly": false,
  "name": "Sample History Listener",
  "type": "hl"
}

تتبُّع الإعلانات الصورية

عدّاد ضوء Floodlight

رمز النوع

flc

المَعلمات
المفتاح Type Notes
ordinalType template واحد من STANDARD، UNIQUE، SESSION
advertiserId template
groupTag template
activityTag template
useImageTag boolean
customVariable list [key، value] أزواج
userVariable template متغيّر u= للعلامة.
transactionVariable template متغيّر tran= للعلامة.
sessionId template عليك تحديد ما إذا كانت قيمة السمة ordinalType هي SESSION.
مثال
{
  "liveOnly": false,
  "name": "Sample Floodlight Counter",
  "parameter": [
    {
      "key": "ordinalType",
      "type": "template",
      "value": "STANDARD"
    },
    {
      "key": "advertiserId",
      "type": "template",
      "value": "{{a}}"
    },
    {
      "key": "groupTag",
      "type": "template",
      "value": "{{b}}"
    },
    {
      "key": "activityTag",
      "type": "template",
      "value": "{{c}}"
    },
    {
      "key": "useImageTag",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "customVariable",
      "type": "list"
 "list": [
     {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "key",
         "value": "u2"
        },
        {
         "type": "template",
         "key": "value",
         "value": "u2_custom_var"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "key",
         "value": "u1"
        },
        {
         "type": "template",
         "key": "value",
         "value": "u1_custom_var"
        }
     ]
    },
    {
      "key": "userVariable",
      "type": "template",
      "value": ""
    },
    {
      "key": "transactionVariable",
      "type": "template",
      "value": ""
    },
    {
     "type": "template",
     "key": "sessionId",
     "value": "MySessionId"
    }
  ],
  "type": "flc"
}

مبيعات Floodlight

رمز النوع

fls

المَعلمات
المفتاح Type Notes
countingMethod template قيمة واحدة من TRANSACTIONS، ITEM_SOLD
advertiserId template
groupTag template
activityTag template
revenue template
orderId template
useImageTag boolean
customVariable map قائمة من الخرائط، ولكل منها زوج واحد من [key، value].
userVariable template متغيّر u= للعلامة.
transactionVariable template متغيّر tran= للعلامة.
quantity template تحديد ما إذا كانت قيمة الحقل "countingMethod" هي "ITEM_SOLD"
مثال
{
   "name": "Sample Floodlight Sales Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "countingMethod",
     "value": "TRANSACTIONS"
    },
    {
     "type": "template",
     "key": "advertiserId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "groupTag",
     "value": "{{b}}"
    },
    {
     "type": "template",
     "key": "activityTag",
     "value": "{{c}}"
    },
    {
     "type": "template",
     "key": "revenue",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "orderId",
     "value": "{{b}}"
    },
    {
     "type": "boolean",
     "key": "useImageTag",
     "value": "false"
    },
    {
     "type": "map",
     "key": "customVariable",
     "map": [
      {
       "type": "template",
       "key": "u2",
       "value": "u2_custom_var"
      },
      {
       "type": "template",
       "key": "u1",
       "value": "u1_custom_var"
      }
     ]
    },
    {
     "type": "template",
     "key": "userVariable",
     "value": "u_var"
    },
    {
     "type": "template",
     "key": "transactionVariable",
     "value": "tran_var"
    }
   ],
   "type": "fls"
  }

Mediaplex - Iiframe MCT Tag

رمز النوع

mpm

المَعلمات
المفتاح Type Notes
placementId template
roiName template
pageName template
uniqueUserId template اختياريّ.
مثال
{
   "name": "Sample Mediaplex IFRAME MCT Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "placementId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "roiName",
     "value": "1"
    },
    {
     "type": "template",
     "key": "pageName",
     "value": "{{a}}"
    }
   ],
   "type": "mpm"
  }

Mediaplex - Standard IMG ROI علامة

رمز النوع

mpr

المَعلمات
المفتاح Type Notes
placementId template
roiName template
uniqueUserId template اختياريّ.
مثال
{
   "name": "Sample Mediaplex Standard IMG ROI Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "placementId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "roiName",
     "value": "1"
    },
    {
     "type": "template",
     "key": "uniqueUserId",
     "value": "MyUniqueId"
    }
   ],
   "type": "mpr"
  }

تتبُّع الإحالات الناجحة في Turn

رمز النوع

tc

المَعلمات
المفتاح Type Notes
customerId template الرقم التعريفي لعقد البيانات
orderId template اختياريّ.
orderValue template اختياريّ.
optOut template اختياريّ.
مثال
{
   "name": "Sample Turn Conversion Tracking",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "customerId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "orderId",
     "value": "MyOrderId"
    },
    {
     "type": "template",
     "key": "orderValue",
     "value": "MyOrderValue"
    },
    {
     "type": "template",
     "key": "optOut",
     "value": "MyOptOut"
    }
   ],
   "type": "tc"
  }

تجديد النشاط التسويقي

وحدة بكسل AdRoll الذكية

رمز النوع

asp

المَعلمات
المفتاح Type Notes
customerId template adroll_adv_id
pixelId template adroll_pix_id
conversionValueInDollars template اختياريّ.
customData map اختياريّ. قائمة من الخرائط، يتضمّن كل منها زوج [key، value] واحد.
segmentName template اختياريّ.
مثال
{
   "name": "Sample AdRoll Smart Pixel",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "customerId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "pixelId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "conversionValueInDollars",
     "value": "conversionValue"
    },
    {
     "type": "map",
     "key": "customData",
     "map": [
      {
       "type": "template",
       "key": "key2",
       "value": "World"
      },
      {
       "type": "template",
       "key": "key1",
       "value": "Hello"
      }
     ]
    },
    {
     "type": "template",
     "key": "segmentName",
     "value": "SegmentName"
    }
   ],
   "type": "asp"
  }

تجديد النشاط التسويقي في "إعلانات Google"

رمز النوع

sp

المَعلمات
المفتاح Type Notes
googleConversionId template
googleConversionLabel template اختياريّ.
customParamsFormat template قيمة واحدة من DATA_LAYER، USER_SPECIFIED
dataLayerVariable template معلومات تسجيل دخول "customParamsFormat = DATA_LAYER"
googleCustomParams list معلومات تسجيل دخول "customParamsFormat = USER_SPECIFIED"
googleScreenName template اختياريّ.
مثال

المكان الذي تم فيه استخدام customParamFormat = DATA_LAYER:

{
   "name": "Sample Google Ads Remarketing",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "googleConversionId",
     "value": "{{c}}"
    },
    {
     "type": "template",
     "key": "googleConversionLabel",
     "value": "MyLabel"
    },
    {
     "type": "template",
     "key": "customParamsFormat",
     "value": "DATA_LAYER"
    },
    {
     "type": "template",
     "key": "dataLayerVariable",
     "value": "{{e}}"
    }
   ],
   "type": "sp"
  }

المكان الذي تم فيه استخدام customParamFormat = USER_SPECIFIED:

{
   "name": "Sample Google Ads Remarketing",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "googleConversionId",
     "value": "{{c}}"
    },
    {
     "type": "template",
     "key": "googleConversionLabel",
     "value": "MyLabel"
    },
    {
     "type": "template",
     "key": "customParamsFormat",
     "value": "USER_SPECIFIED"
    },
    {
     "type": "list",
     "key": "googleCustomParams",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "key",
         "value": "key2"
        },
        {
         "type": "template",
         "key": "value",
         "value": "World"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "key",
         "value": "key1"
        },
        {
         "type": "template",
         "key": "value",
         "value": "Hello"
        }
       ]
      }
     ]
    }
   ],
   "type": "sp"
  }

جمع البيانات في Turn

رمز النوع

tdc

المَعلمات
المفتاح Type Notes
customerId template
categoryId template اختياريّ.
keyword template اختياريّ.
dataProviderId template اختياريّ.
optOut template اختياريّ.
مثال
{
   "name": "Sample Turn Data Collection Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "customerId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "categoryId",
     "value": "myCategoryId"
    },
    {
     "type": "template",
     "key": "keyword",
     "value": "myKeyword"
    },
    {
     "type": "template",
     "key": "dataProviderId",
     "value": "myDataProviderId"
    },
    {
     "type": "template",
     "key": "optOut",
     "value": "myOptOut"
    }
   ],
   "type": "tdc"
  }

اطّلع على ميزة "تتبُّع الإحالات الناجحة" في "إعلانات Google" ضمن علامات الأجهزة الجوّالة.

Marin Software

رمز النوع

ms

المَعلمات
المفتاح Type Notes
type template قيمة واحدة من TRACK_PAGEVIEW، TRACK_TRANSACTION
clientId template
anonymizeIp boolean اختياريّ.
conversionType template معلومات تسجيل الدخول إلى type = TRACK_TRANSACTION
useDataLayer boolean معلومات تسجيل دخول "type = TRACK_TRANSACTION"
orderId template معلومات تسجيل دخول "useDataLayer = false"
product template معلومات تسجيل دخول "useDataLayer = false"
price template معلومات تسجيل دخول "useDataLayer = false"
category template معلومات تسجيل دخول "useDataLayer = false"
quantity template معلومات تسجيل دخول "useDataLayer = false"
currencyCode template معلومات تسجيل دخول "useDataLayer = false"
مثال

المكان الذي تم فيه استخدام type=TRACK_PAGEVIEW:

{
   "name": "Sample Marin Software Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "type",
     "value": "TRACK_PAGEVIEW"
    },
    {
     "type": "template",
     "key": "clientId",
     "value": "Client ID"
    },
    {
     "type": "boolean",
     "key": "anonymizeIp",
     "value": "false"
    }
   ],
   "type": "ms"
  }

حيث type = TRACK_TRANSACTION وuseDataLayer = true:

{
   "name": "Sample Marin Software Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "type",
     "value": "TRACK_TRANSACTION"
    },
    {
     "type": "template",
     "key": "clientId",
     "value": "Client ID"
    },
    {
     "type": "template",
     "key": "conversionType",
     "value": "myConversionType"
    },
    {
     "type": "boolean",
     "key": "anonymizeIp",
     "value": "false"
    },
    {
     "type": "boolean",
     "key": "useDataLayer",
     "value": "true"
    }
   ],
   "type": "ms"
  }

حيث type = TRACK_TRANSACTION وuseDataLayer = false:

{
   "name": "Sample Marin Software Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "type",
     "value": "TRACK_TRANSACTION"
    },
    {
     "type": "template",
     "key": "clientId",
     "value": "Client ID"
    },
    {
     "type": "template",
     "key": "conversionType",
     "value": "myConversionType"
    },
    {
     "type": "boolean",
     "key": "anonymizeIp",
     "value": "false"
    },
    {
     "type": "template",
     "key": "orderId",
     "value": "myOrderId"
    },
    {
     "type": "template",
     "key": "product",
     "value": "myProduct"
    },
    {
     "type": "template",
     "key": "price",
     "value": "myPrice"
    },
    {
     "type": "template",
     "key": "category",
     "value": "myCategory"
    },
    {
     "type": "template",
     "key": "quantity",
     "value": "myQuantity"
    },
    {
     "type": "template",
     "key": "currencyCode",
     "value": "myCurrencyCode"
    },
    {
     "type": "boolean",
     "key": "useDataLayer",
     "value": "false"
    }
   ],
   "type": "ms"
  }

الجمهور

AdAdvisor

رمز النوع

_ta

المَعلمات
المفتاح Type
subscriberId template
مثال
  {
   "name": "Sample AdAdvisor Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "subscriberId",
     "value": "{{a}}"
    }
   ],
   "type": "_ta",
  }

إحصاءات Bizo

رمز النوع

bzi

المَعلمات
مثال
 {
   "name": "Sample Bizo Insight Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "id",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "title",
     "value": "myTitle"
    },
    {
     "type": "template",
     "key": "domain",
     "value": "myDomain"
    },
    {
     "type": "template",
     "key": "company",
     "value": "myCompany"
    },
    {
     "type": "template",
     "key": "location",
     "value": "myLocation"
    },
    {
     "type": "template",
     "key": "employeeRange",
     "value": "myEmployeeRange"
    },
    {
     "type": "template",
     "key": "standardIndustrialClassification",
     "value": "mySICS"
    },
    {
     "type": "template",
     "key": "email",
     "value": "myEmail"
    }
   ],
   "type": "bzi"
  }

جهازDstillery Universal Pixel

رمز النوع

m6d

المَعلمات
المفتاح Type Notes
id template
title template اختياريّ.
domain template اختياريّ.
company template اختياريّ.
location template اختياريّ.
employeeRange template اختياريّ.
standardIndustrialClassification template اختياريّ.
email template اختياريّ.
المفتاح Type Notes
pixelId template
pixelCheckValue template
orderId template اختياريّ.
revenue template اختياريّ.
namespaceId template
namespaceCheckValue template
namespaceCode template
مثال
  {
   "name": "Sample Dstillery Pixel Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "pixelId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "pixelCheckValue",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "orderId",
     "value": "myOrderId"
    },
    {
     "type": "template",
     "key": "revenue",
     "value": "myRevenue"
    },
    {
     "type": "template",
     "key": "namespaceId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "namespaceCheckValue",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "namespaceCode",
     "value": "{{a}}"
    }
   ],
   "type": "m6d"
  }

علامة الإحالة الناجحة من نوع VisualDNA

رمز النوع

vdc

المَعلمات
المفتاح Type Notes
apiAccountKey template
conversionId template
identitySyncPlatformCode template اختياريّ.
مثال
  {
   "name": "Sample Visual DNA Conversion Tag",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "apiAccountKey",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "conversionId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "identitySyncPlatformCode",
     "value": "mySyncPlatformCode"
    }
   ],
   "type": "vdc"
  }

الإحصاءات

Universal Analytics

رمز النوع

ua

المَعلمات
المفتاح Type Notes
trackingId template
type template واحد من: TRACK_PAGEVIEW، TRACK_EVENT، TRACK_TRANSACTION، TRACK_SOCIAL، TRACK_TIMING، DECORATE_LINK، DECORATE_FORM.
contentGroup list اختياريّ. قائمة خرائط يتضمّن كل منها مفتاح index ومفتاح group.
dimension list اختياريّ. قائمة خرائط يتضمّن كل منها مفتاح index ومفتاح dimension.
metric list اختياريّ. قائمة خرائط يتضمّن كل منها مفتاح index ومفتاح metric.
functionName template اختياريّ.
fieldsToSet map اختياريّ. كل مَعلمة في القائمة هي عبارة عن خريطة، ويجب أن تحتوي كل مَعلمة خريطة على مَعلمتَين فرعيتَين: إحداهما بالمفتاح fieldName والأخرى بالمفتاح value. لا يمكن حاليًا الوصول إلى الحقول التالية إلا باستخدام الحقول toSet: anonymizeIp وsessionControl وreferrer وpage وtitle وtitle (المعروف سابقًا باسم documentTitle) وcookieName وcookieDomain وsampleRate وCookieExpiration (المعروف سابقًا باسم ملف تعريف الارتباط ستنتهي صلاحية ملف تعريف الارتباط) وملف تعريف الارتباطفي مسار الإجراء (الذي كان يُعرف سابقًا باسم forceSsl) وallowLinker.
doubleClick boolean اختياريّ.
trackerName template اختياريّ. يمكن تحديد trackerName عندما setTrackerName == true.
useDebugVersion boolean اختياريّ.
autoLinkDomains template اختياريّ. يمكن تحديد هذا الحقل لـ TRACK_PAGEVIEW.
linkId template اختياريّ. تفعيل تحسين إحالة الرابط.
decorateFormsAutoLink boolean اختياريّ. يمكن تحديد هذا الحقل لـ TRACK_PAGEVIEW.
setTrackerName boolean اختياريّ.
useHashAutoLink boolean اختياريّ.
enableEcommerce boolean اختياريّ.
useEcommerceDataLayer boolean اختياريّ. يمكن تحديد هذا الحدّ فقط لـ eventType=TRACK_EVENT و/أو TRACK_PAGEVIEW.
ecommerceMacroData template اختياريّ. لا يمكن تحديد ذلك إلا للسمة eventType=TRACK_EVENT و/أو TRACK_PAGEVIEW وعند ضبط السمة useEcommerceDataLayer=false.
eventCategory template معلومات تسجيل دخول "eventType=TRACK_EVENT"
eventAction template معلومات تسجيل دخول "eventType=TRACK_EVENT"
eventLabel template معلومات تسجيل دخول "eventType=TRACK_EVENT"
eventValue template معلومات تسجيل دخول "eventType=TRACK_EVENT"
nonInteraction template معلومات تسجيل دخول "eventType=TRACK_EVENT"
socialNetwork template معلومات تسجيل دخول "eventType=TRACK_SOCIAL"
socialAction template معلومات تسجيل دخول "eventType=TRACK_SOCIAL"
socialActionTarget template معلومات تسجيل دخول "eventType=TRACK_SOCIAL"
timingVar template معلومات تسجيل دخول "eventType=TRACK_TIMING"
timingCategory template معلومات تسجيل دخول "eventType=TRACK_TIMING"
timingLabel template معلومات تسجيل دخول "eventType=TRACK_TIMING"
timingValue template معلومات تسجيل دخول "eventType=TRACK_TIMING"
useHashDecorateLink boolean معلومات تسجيل دخول "eventType=DECORATE_LINK"
useHashDecorateForm boolean معلومات تسجيل دخول "eventType=DECORATE_FORM"
مثال

المكان الذي تم فيه استخدام trackType=TRACK_PAGEVIEW:

 {
   "name": "Sample Universal Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "trackingId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_PAGEVIEW"
    },
    {
     "type": "list",
     "key": "contentGroup",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "index",
         "value": "1"
        },
        {
         "type": "template",
         "key": "group",
         "value": "myContentGroup"
        }
       ]
      }
     ]
    },
    {
     "type": "list",
     "key": "dimension",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "index",
         "value": "1"
        },
        {
         "type": "template",
         "key": "dimension",
         "value": "myCustomDimension"
        }
       ]
      }
     ]
    },
    {
     "type": "list",
     "key": "metric",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "index",
         "value": "1"
        },
        {
         "type": "template",
         "key": "metric",
         "value": "myCustomMetric"
        }
       ]
      }
     ]
    },
    {
     "type": "list",
     "key": "fieldsToSet",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "myFieldName"
        },
        {
         "type": "template",
         "key": "value",
         "value": "myFieldValue"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "anonymizeIp"
        },
        {
         "type": "template",
         "key": "value",
         "value": "true"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "allowLinker"
        },
        {
         "type": "template",
         "key": "value",
         "value": "true"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "sessionControl"
        },
        {
         "type": "template",
         "key": "value",
         "value": "mySessionControl"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "referrer"
        },
        {
         "type": "template",
         "key": "value",
         "value": "myDocReferrer"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "page"
        },
        {
         "type": "template",
         "key": "value",
         "value": "myDocPath"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "title"
        },
        {
         "type": "template",
         "key": "value",
         "value": "myDocTitle"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "sampleRate"
        },
        {
         "type": "template",
         "key": "value",
         "value": "mySampleRate"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "cookieName"
        },
        {
         "type": "template",
         "key": "value",
         "value": "myCookieName"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "cookieDomain"
        },
        {
         "type": "template",
         "key": "value",
         "value": "myCookieDomain"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "cookiePath"
        },
        {
         "type": "template",
         "key": "value",
         "value": "myCookiePath"
        }
       ]
      },
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "fieldName",
         "value": "cookieExpires"
        },
        {
         "type": "template",
         "key": "value",
         "value": "myCookieExpirationInSeconds"
        }
       ]
      }
     ]
    },
    {
     "type": "template",
     "key": "trackerName",
     "value": "myCustomTrackerName"
    },
    {
     "type": "boolean",
     "key": "useDebugVersion",
     "value": "false"
    },
    {
     "type": "template",
     "key": "autoLinkDomains",
     "value": "myAutoLinkDomain"
    },
    {
     "type": "boolean",
     "key": "linkId",
     "value": "false"
    },
    {
     "type": "boolean",
     "key": "decorateFormsAutoLink",
     "value": "false"
    },
    {
     "type": "boolean",
     "key": "setTrackerName",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "useHashAutoLink",
     "value": "false"
    },
    {
     "type": "boolean",
     "key": "enableEcommerce",
     "value": "false"
    }
   ],
   "type": "ua"
  }

المكان الذي تم فيه استخدام trackType=TRACK_EVENT:

 {
   "name": "Sample Universal Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "trackingId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_EVENT"
    },
    {
     "type": "template",
     "key": "eventCategory",
     "value": "myCategory"
    },
    {
     "type": "template",
     "key": "eventAction",
     "value": "myAction"
    },
    {
     "type": "template",
     "key": "eventLabel",
     "value": "myLabel"
    },
    {
     "type": "template",
     "key": "eventValue",
     "value": "myValue"
    },
   "type": "ua"
   }

المكان الذي تم فيه استخدام trackType=TRACK_TRANSACTION:

  {
   "name": "Sample Universal Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "trackingId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_TRANSACTION"
    }
   ],
   "type": "ua"
  }

المكان الذي تم فيه استخدام trackType=TRACK_SOCIAL:

 {
   "name": "Sample Universal Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "trackingId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_SOCIAL"
    },
    {
     "type": "template",
     "key": "socialNetwork",
     "value": "myNetwork"
    },
    {
     "type": "template",
     "key": "socialAction",
     "value": "myAction"
    },
    {
     "type": "template",
     "key": "socialActionTarget",
     "value": "myActionTarget"
    }
   ],
   "type": "ua"
  }

المكان الذي تم فيه استخدام trackType=TRACK_TIMING:

 {
   "name": "Sample Universal Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "trackingId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_TIMING"
    },
    {
     "type": "template",
     "key": "timingVar",
     "value": "myVar"
    },
    {
     "type": "template",
     "key": "timingCategory",
     "value": "myCategory"
    },
    {
     "type": "template",
     "key": "timingLabel",
     "value": "myLabel"
    },
    {
     "type": "template",
     "key": "timingValue",
     "value": "myValue"
    }
   ],
   "type": "ua"
  }

المكان الذي تم فيه استخدام trackType=DECORATE_LINK:

 {
   "name": "Sample Universal Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "trackingId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "DECORATE_LINK"
    },
    {
     "type": "boolean",
     "key": "useHashDecorateLink",
     "value": "false"
    }
   ],
   "type": "ua"
  }

المكان الذي تم فيه استخدام trackType=DECORATE_FORM:

  {
   "name": "Sample Universal Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "trackingId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "DECORATE_FORM"
    },
    {
     "type": "boolean",
     "key": "useHashDecorateForm",
     "value": "false"
    }
   ],
   "type": "ua"
  }

الإصدار الكلاسيكي من "إحصاءات Google"

رمز النوع

ga

المَعلمات
المفتاح Type Notes
webPropertyId template
type template واحد مما يلي: TRACK_PAGEVIEW أو TRACK_EVENT أو LINK, LINK_BY_POST, TRACK_TRANSACTION, TRACK_SOCIAL, TRACK_TIMING, DECORATE_LINK, DECORATE_FORM
siteSpeedSampleRate template يجب تقييمها بقيمة نسبة مئوية رقمية (0..100).
cookiePath template
page template
domainName template
allowLinker boolean
sampleRate integer نطاق من 0 إلى 100
campaignCookieTimeout template يجب تقييمها إلى قيمة رقمية تمثل المهلة بالمللي ثانية.
allowAnchor boolean
sessionCookieTimeout template يجب تقييمها إلى قيمة رقمية تمثل المهلة بالمللي ثانية.
doubleClick boolean
hitCallback template
ignoredRef list قائمة المُحيلين المطلوب تجاهلها.
ignoredRef[].value template اسم المُحيل
customVar list قائمة الخرائط. خريطة واحدة لكل متغيّر مخصّص
customVar[].slot integer
customVar[].name template
customVar[].value template
customVar[].scope integer 1 لنطاق النتيجة، 2لنطاق الجلسة، و3 لنطاق المستخدم.
organic list
organic[].searchEngine template
organic[].queryParamName template
organic[].prepend boolean
ignoredOrganic list قائمة الكلمات الرئيسية المطلوب تجاهلها.
ignoredOrganic[].value template الكلمات الرئيسية المطلوب تجاهلها.
title template
campaignSourceOverride template
campaignMediumOverride template
campaignTermOverride template
campaignContentOverride template
campaignNameOverride template
anonymizeIp boolean
linkId boolean اختياريّ. تفعيل تحسين إحالة الرابط.
contentGroup list قائمة الخرائط.
contentGroup[].index template يجب تقييمها إلى عدد صحيح.
contentGroup[].group template اسم المجموعة.
campContentKey template
campMediumKey template
campNameKey template
campNoKey template
campSourceKey template
campTermKey template
campaignTrack boolean
clientInfo template
detectFlash template
detectTitle template
localGifPath template
sendHitstToGoogle template
referrerOverride template
visitorCookieTimeout template عدد المللي ثانية.
trackerName template
cookiePathCopy list قائمة مسارات ملفات تعريف الارتباط
cookiePathCopy[].value template مسار ملف تعريف الارتباط.
useDebugVersion boolean
forceSsl boolean
setTrackerName boolean
eventCategory template معلومات تسجيل دخول "trackType=TRACK_EVENT"
eventAction template معلومات تسجيل دخول "trackType=TRACK_EVENT"
eventLabel template معلومات تسجيل دخول "trackType=TRACK_EVENT"
eventValue template معلومات تسجيل دخول "trackType=TRACK_EVENT"
nonInteraction boolean معلومات تسجيل دخول "trackType=TRACK_EVENT"
targetUrl template معلومات تسجيل دخول "trackType=LINK"
useHashLink boolean معلومات تسجيل دخول "trackType=LINK"
formObject template معلومات تسجيل دخول "trackType=LINK_BY_POST"
useHashLinkByPost boolean معلومات تسجيل دخول "trackType=LINK_BY_POST"
currencyCode template اختياريّ. معلومات تسجيل دخول "trackType=TRACK_TRANSACTION"
socialUseDataLayer boolean اختياريّ. معلومات تسجيل دخول "trackType=TRACK_SOCIAL"
socialNetwork template معلومات تسجيل الدخول إلى trackType=TRACK_SOCIAL وsocialUseDataLayer=false
socialAction template معلومات تسجيل الدخول إلى trackType=TRACK_SOCIAL وsocialUseDataLayer=false
socialPagePath template اختياريّ. معلومات تسجيل دخول "trackType=TRACK_SOCIAL"
socialTarget template معلومات تسجيل الدخول إلى trackType=TRACK_SOCIAL و socialUseDataLayer=false
timingCategory template معلومات تسجيل دخول "trackType=TRACK_TIMING"
timingVariable template معلومات تسجيل دخول "trackType=TRACK_TIMING"
timingTime template معلومات تسجيل دخول "trackType=TRACK_TIMING"
timingLabel template معلومات تسجيل دخول "trackType=TRACK_TIMING"
timingSampleRate template معلومات تسجيل دخول "trackType=TRACK_TIMING"
useHashDecorateLink boolean معلومات تسجيل دخول "trackType=DECORATE_LINK"
useHashDecorateForm boolean معلومات تسجيل دخول "trackType=DECORATE_FORM"
مثال

المكان الذي تم فيه استخدام trackType=TRACK_PAGEVIEW:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "siteSpeedSampleRate",
     "value": "{{sampleRatePercent}}"
    },
    {
     "type": "template",
     "key": "cookiePath",
     "value": "myCookiePath"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_PAGEVIEW"
    },
    {
     "type": "template",
     "key": "page",
     "value": "myVirtualPagePath"
    },
    {
     "type": "template",
     "key": "domainName",
     "value": "myDomainName"
    },
    {
     "type": "boolean",
     "key": "allowLinker",
     "value": "true"
    },
    {
     "type": "integer",
     "key": "sampleRate",
     "value": "10"
    },
    {
     "type": "template",
     "key": "campaignCookieTimeout",
     "value": "{{timeoutInMilli}}"
    },
    {
     "type": "boolean",
     "key": "allowAnchor",
     "value": "true"
    },
    {
     "type": "template",
     "key": "sessionCookieTimeout",
     "value": "{{timeoutInMilli}}"
    },
    {
     "type": "boolean",
     "key": "doubleClick",
     "value": "true"
    },
    {
     "type": "list",
     "key": "ignoredRef",
     "list": [
      {
       "type": "template",
       "value": "referrer1Ignore"
      },
      {
       "type": "template",
       "value": "referrer2Ignore"
      }
     ]
    },
    {
     "type": "list",
     "key": "customVar",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "integer",
         "key": "slot",
         "value": "1"
        },
        {
         "type": "template",
         "key": "name",
         "value": "myCustomVar"
        },
        {
         "type": "template",
         "key": "value",
         "value": "myCustomVarValue"
        },
        {
         "type": "integer",
         "key": "scope",
         "value": "3"
        }
       ]
      }
     ]
    },
    {
     "type": "list",
     "key": "organic",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "searchEngine",
         "value": "myOrganicSearchEngine"
        },
        {
         "type": "template",
         "key": "queryParamName",
         "value": "mySearchQueryParamName"
        },
        {
         "type": "boolean",
         "key": "prepend",
         "value": "true"
        }
       ]
      }
     ]
    },
    {
     "type": "list",
     "key": "ignoredOrganic",
     "list": [
      {
       "type": "template",
       "value": "keyword1Ignore"
      },
      {
       "type": "template",
       "value": "keyword2Ignore"
      }
     ]
    },
    {
     "type": "template",
     "key": "title",
     "value": "myPageTitle"
    },
    {
     "type": "template",
     "key": "campaignSourceOverride",
     "value": "mySourceOverride"
    },
    {
     "type": "template",
     "key": "campaignMediumOverride",
     "value": "myMediumOverride"
    },
    {
     "type": "template",
     "key": "campaignTermOverride",
     "value": "myTermOverride"
    },
    {
     "type": "template",
     "key": "campaignContentOverride",
     "value": "myContentOverride"
    },
    {
     "type": "template",
     "key": "campaignNameOverride",
     "value": "myNameOverride"
    },
    {
     "type": "boolean",
     "key": "anonymizeIp",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "linkId",
     "value": "false"
    },
    {
     "type": "list",
     "key": "contentGroup",
     "list": [
      {
       "type": "map",
       "map": [
        {
         "type": "template",
         "key": "index",
         "value": "1"
        },
        {
         "type": "template",
         "key": "group",
         "value": "myContentGroup1"
        }
       ]
      }
     ]
    },
    {
     "type": "template",
     "key": "campContentKey",
     "value": "myContentKey"
    },
    {
     "type": "template",
     "key": "campMediumKey",
     "value": "myMediumKey"
    },
    {
     "type": "template",
     "key": "campNameKey",
     "value": "myNameKey"
    },
    {
     "type": "template",
     "key": "campNoKey",
     "value": "myNoOverrideKey"
    },
    {
     "type": "template",
     "key": "campSourceKey",
     "value": "mySourceKey"
    },
    {
     "type": "template",
     "key": "campTermKey",
     "value": "myTermKey"
    },
    {
     "type": "boolean",
     "key": "campaignTrack",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "clientInfo",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "detectFlash",
     "value": "true"
    },
    {
     "type": "boolean",
     "key": "detectTitle",
     "value": "true"
    },
    {
     "type": "template",
     "key": "localGifPath",
     "value": "myLocalGIFPath"
    },
    {
     "type": "boolean",
     "key": "sendHitsToGoogle",
     "value": "true"
    },
    {
     "type": "template",
     "key": "referrerOverride",
     "value": "myReferrerOverride"
    },
    {
     "type": "template",
     "key": "visitorCookieTimeout",
     "value": "{{timeoutInMilli}}"
    },
    {
     "type": "template",
     "key": "trackerName",
     "value": "myTrackerName"
    },
    {
     "type": "list",
     "key": "cookiePathCopy",
     "list": [
      {
       "type": "template",
       "value": "/path/to/cookies1"
      },
      {
       "type": "template",
       "value": "/path/to/cookies2"
      }
     ]
    },
    {
     "type": "boolean",
     "key": "useDebugVersion",
     "value": "false"
    },
    {
     "type": "boolean",
     "key": "forceSsl",
     "value": "false"
    },
    {
     "type": "boolean",
     "key": "setTrackerName",
     "value": "true"
    }
   ],
   "type": "ga"
  }

المكان الذي تم فيه استخدام trackType=TRACK_EVENT:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_EVENT"
    },
    {
     "type": "template",
     "key": "eventCategory",
     "value": "myCategory"
    },
    {
     "type": "template",
     "key": "eventAction",
     "value": "myAction"
    },
    {
     "type": "template",
     "key": "eventLabel",
     "value": "myLabel"
    },
    {
     "type": "template",
     "key": "eventValue",
     "value": "myValue"
    },
    {
     "type": "boolean",
     "key": "nonInteraction",
     "value": "false"
    }
   ],
   "type": "ga"
  }

المكان الذي تم فيه استخدام trackType=LINK:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "LINK"
    },
    {
     "type": "template",
     "key": "targetUrl",
     "value": "TargetURL"
    },
    {
     "type": "boolean",
     "key": "useHashLink",
     "value": "false"
    }
   ],
   "type": "ga"
  }

المكان الذي تم فيه استخدام trackType=LINK_BY_POST:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "LINK_BY_POST"
    },
    {
     "type": "template",
     "key": "formObject",
     "value": "{{a}}"
    },
    {
     "type": "boolean",
     "key": "useHashLinkByPost",
     "value": "false"
    }
   ],
   "type": "ga"
  }

المكان الذي تم فيه استخدام trackType=TRACK_TRANSACTION:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_TRANSACTION"
    },
    {
     "type": "template",
     "key": "currencyCode",
     "value": "{{a}}"
    }
   ]
   "type": "ga"
  }

المكان الذي تم فيه استخدام trackType=TRACK_SOCIAL:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_SOCIAL"
    },
    {
     "type": "template",
     "key": "socialNetwork",
     "value": "mySocialNetwork"
    },
    {
     "type": "template",
     "key": "socialAction",
     "value": "mySocialAction"
    },
    {
     "type": "template",
     "key": "socialTarget",
     "value": "myTarget"
    },
    {
     "type": "template",
     "key": "socialPagePath",
     "value": "myPagePaht"
    }
   ],
   "type": "ga"
  }

المكان الذي تم فيه استخدام trackType=TRACK_TIMING:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "TRACK_TIMING"
    },
    {
     "type": "template",
     "key": "timingCategory",
     "value": "myCategory"
    },
    {
     "type": "template",
     "key": "timingVariable",
     "value": "myVariable"
    },
    {
     "type": "template",
     "key": "timingTime",
     "value": "myTime"
    },
    {
     "type": "template",
     "key": "timingLabel",
     "value": "myLabel"
    },
    {
     "type": "template",
     "key": "timingSampleRate",
     "value": "{{sampleRatePercent}}"
    }
   ],
   "type": "ga"
  }

المكان الذي تم فيه استخدام trackType=DECORATE_LINK:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "DECORATE_LINK"
    },
    {
     "type": "boolean",
     "key": "useHashDecorateLink",
     "value": "false"
    }
   ],
   "type": "ga"
  }

المكان الذي تم فيه استخدام trackType=DECORATE_FORM:

 {
   "name": "Sample Classic Google Analytics",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "webPropertyId",
     "value": "UA-00000-123"
    },
    {
     "type": "template",
     "key": "trackType",
     "value": "DECORATE_LINK"
    },
    {
     "type": "boolean",
     "key": "useHashDecorateForm",
     "value": "false"
    }
   ],
   "type": "ga"
  }

إصدار ClickTale Standard

رمز النوع

cts

المَعلمات
المفتاح Type
projectId template
sampleRate template
partition template
مثال
 {
   "name": "Sample ClickTale Standard Tracking",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "projectId",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "sampleRate",
     "value": "{{a}}"
    },
    {
     "type": "template",
     "key": "partition",
     "value": "{{a}}"
    }
   ],
   "type": "cts"
  }

comScore Unified Digital Measurement

رمز النوع

csm

المَعلمات
المفتاح Type
clientId template
مثال
 {
   "name": "Sample comScore Unified Digital Measurement",
   "liveOnly": false,
   "parameter": [
    {
     "type": "template",
     "key": "clientId",
     "value": "{{a}}"
    }
   ],
   "type": "csm"
  }

علامات الأجهزة الجوّالة

تتبُّع الإحالات الناجحة في "إعلانات Google"

رمز النوع

awct

المَعلمات
المفتاح Type
googleConversionId template
googleConversionLabel template
googleConversionValue template
مثال
{
  "liveOnly": false,
  "name": "Google Ads Conversion Tracking",
  "parameter": [
    {
      "key": "googleConversionId",
      "type": "template",
      "value": "{{a}}"
    },
    {
      "key": "googleConversionLabel",
      "type": "template",
      "value": "{{a}}"
    },
    {
      "key": "googleConversionValue",
      "type": "template",
      "value": "{{a}}"
    }
  ],
  "tagId": "1",
  "type": "awct"
}

تجديد النشاط التسويقي في "إعلانات Google"

رمز النوع

sp

المَعلمات
المفتاح Type Notes
googleConversionId template
googleConversionLabel template
customParamsFormat template واحد من: DATA_LAYER، USER_SPECIFIED
googleScreenName template اختياريّ.
dataLayerVariable template بالنسبة إلى customParamsFormat=DATA_LAYER، يجب أن تشير إلى وحدة ماكرو متغيّر طبقة البيانات.
googleCustomParams list قائمة من الخرائط، ولكل منها إدخال [key، value]. معلومات تسجيل الدخول إلى customParamsFormat=USER_SPECIFIED
googleCustomParams[].key template
googleCustomParams[].value template
مثال

المكان الذي تم فيه استخدام customParamsFormat=USER_SPECIFIED:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Google Ads Remarketing",
  "parameter": [
    {
      "key": "conversionId",
      "type": "template",
      "value": "cvid"
    },
    {
      "key": "conversionLabel",
      "type": "template",
      "value": "cvl"
    },
    {
      "key": "customParamsFormat",
      "type": "template",
      "value": "USER_SPECIFIED"
    },
    {
      "key": "customParams",
      "list": [
        {
          "map": [
            {
              "key": "key",
              "type": "template",
              "value": "cpk1"
            },
            {
              "key": "value",
              "type": "template",
              "value": "cpv1"
            }
          ],
          "type": "map"
        }
      ],
      "type": "list"
    }
  ],
  "tagId": "2",
  "type": "sp"
}

المكان الذي تم فيه استخدام customParamsFormat=DATA_LAYER:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Google Ads Remarketing DataLayer",
  "parameter": [
    {
      "key": "conversionId",
      "type": "template",
      "value": "cvid"
    },
    {
      "key": "conversionLabel",
      "type": "template",
      "value": "cvl"
    },
    {
      "key": "customParamsFormat",
      "type": "template",
      "value": "DATA_LAYER"
    },
    {
      "key": "dataLayerVariable",
      "type": "template",
      "value": "{{dlv}}"
    }
  ],
  "tagId": "3",
  "type": "sp"
}

عدّاد ضوء Floodlight

رمز النوع

flc

المَعلمات
المفتاح Type Notes
ordinalType template واحد من STANDARD، UNIQUE، SESSION
advertiserId template
groupTag template
activityTag template
customVariable list [key، value] أزواج
userVariable template متغيّر u= للعلامة.
transactionVariable template متغيّر tran= للعلامة.
sessionId template عليك تحديد ما إذا كانت قيمة السمة ordinalType هي SESSION.
useImageTag boolean
unrepeatable boolean اختياريّ.
مثال

المكان الذي تم فيه استخدام ordinalType=STANDARD:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Floodlight Counter",
  "parameter": [
    {
      "key": "ordinalType",
      "type": "template",
      "value": "STANDARD"
    },
    {
      "key": "advertiserId",
      "type": "template",
      "value": "42"
    },
    {
      "key": "groupTag",
      "type": "template",
      "value": "gts"
    },
    {
      "key": "activityTag",
      "type": "template",
      "value": "ats"
    },
    {
      "key": "useImageTag",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "customVariable",
      "list": [
        {
          "map": [
            {
              "key": "key",
              "type": "template",
              "value": "u3"
            },
            {
              "key": "value",
              "type": "template",
              "value": "bar"
            }
          ],
          "type": "map"
        },
        {
          "map": [
            {
              "key": "key",
              "type": "template",
              "value": "u1"
            },
            {
              "key": "value",
              "type": "template",
              "value": "foo"
            }
          ],
          "type": "map"
        }
      ],
      "type": "list"
    },
    {
      "key": "userVariable",
      "type": "template",
      "value": "u"
    },
    {
      "key": "transactionVariable",
      "type": "template",
      "value": "tran"
    }
  ],
  "tagId": "4",
  "type": "flc"
}

المكان الذي تم فيه استخدام ordinalType=SESSION:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Floodlight Counter Per Session",
  "parameter": [
    {
      "key": "ordinalType",
      "type": "template",
      "value": "SESSION"
    },
    {
      "key": "advertiserId",
      "type": "template",
      "value": "42"
    },
    {
      "key": "groupTag",
      "type": "template",
      "value": "gts"
    },
    {
      "key": "activityTag",
      "type": "template",
      "value": "ats"
    },
    {
      "key": "sessionId",
      "type": "template",
      "value": "session-id"
    },
    {
      "key": "useImageTag",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "customVariable",
      "type": "list"
    },
    {
      "key": "userVariable",
      "type": "template",
      "value": "u"
    },
    {
      "key": "transactionVariable",
      "type": "template",
      "value": "tran"
    }
  ],
  "tagId": "5",
  "type": "flc"
}

مبيعات Floodlight

رمز النوع

fls

المَعلمات
المفتاح Type Notes
countingMethod template قيمة واحدة من TRANSACTIONS، ITEM_SOLD
advertiserId template
groupTag template
activityTag template
revenue template
orderId template تحديد ما إذا كانت قيمة الحقل "countingMethod" هي "ITEM_SOLD"
customVariable map قائمة من الخرائط، ولكل منها زوج واحد من [key، value]. مفاتيح عناصر الخريطة من u1 إلى u20، ونوع عنصر الخريطة هو نموذج.
userVariable template متغيّر u= للعلامة.
transactionVariable template متغيّر tran= للعلامة.
quantity template عليك تحديد ما إذا كانت قيمة السمة countingMethod هي ITEM_SOLD.
useImageTag boolean
unrepeatable boolean اختياريّ.
مثال

المكان الذي تم فيه استخدام countingMethod=TRANSACTIONS:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Floodlight Sales",
  "parameter": [
    {
      "key": "countingMethod",
      "type": "template",
      "value": "TRANSACTIONS"
    },
    {
      "key": "advertiserId",
      "type": "template",
      "value": "42"
    },
    {
      "key": "groupTag",
      "type": "template",
      "value": "gts"
    },
    {
      "key": "activityTag",
      "type": "template",
      "value": "ats"
    },
    {
      "key": "revenue",
      "type": "template",
      "value": "{{revenue}}"
    },
    {
      "key": "orderId",
      "type": "template",
      "value": "oid"
    },
    {
      "key": "useImageTag",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "customVariable",
      "map": [
        {
          "key": "u1",
          "type": "template",
          "value": "jio"
        }
      ],
      "type": "map"
    },
    {
      "key": "userVariable",
      "type": "template",
      "value": "u"
    },
    {
      "key": "transactionVariable",
      "type": "template",
      "value": "tran"
    }
  ],
  "tagId": "6",
  "type": "fls"
}

المكان الذي تم فيه استخدام countingMethod=ITEM_SOLD:

{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Floodlight Sales Item Sold",
  "parameter": [
    {
      "key": "countingMethod",
      "type": "template",
      "value": "ITEM_SOLD"
    },
    {
      "key": "advertiserId",
      "type": "template",
      "value": "42"
    },
    {
      "key": "groupTag",
      "type": "template",
      "value": "gts"
    },
    {
      "key": "activityTag",
      "type": "template",
      "value": "ats"
    },
    {
      "key": "quantity",
      "type": "template",
      "value": "1"
    },
    {
      "key": "revenue",
      "type": "template",
      "value": "{{revenue}}"
    },
    {
      "key": "orderId",
      "type": "template",
      "value": "oid"
    },
    {
      "key": "useImageTag",
      "type": "boolean",
      "value": "false"
    },
    {
      "key": "customVariable",
      "map": [
        {
          "key": "u1",
          "type": "template",
          "value": "ji"
        }
      ],
      "type": "map"
    },
    {
      "key": "userVariable",
      "type": "template",
      "value": "u"
    },
    {
      "key": "transactionVariable",
      "type": "template",
      "value": "tran"
    }
  ],
  "tagId": "7",
  "type": "fls"
}

استدعاء الدالة

رمز النوع

_fc

المَعلمات
المفتاح Type Notes
functionName template
functionArgument map قائمة من الخرائط، ولكل منها زوج واحد من [key، value].
مثال
{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Function Call",
  "parameter": [
    {
      "key": "functionName",
      "type": "template",
      "value": "fn"
    },
    {
      "key": "functionArgument",
      "map": [
        {
          "key": "argkey1",
          "type": "template",
          "value": "argval1"
        }
      ],
      "type": "map"
    }
  ],
  "tagId": "8",
  "type": "_fc"
}

Universal Analytics

رمز النوع

ua

المَعلمات
المفتاح Type Notes
trackingId template
type template أحدهما من: TRACK_APPVIEW أو TRACK_EVENT أو TRACK_SOCIAL أو TRACK_TIMING أو TRACK_EXCEPTION.
contentGroup list كل مَعلمة في القائمة هي عبارة عن خريطة، ويجب أن تحتوي كل مَعلمة خريطة على مَعلمتَين فرعيتَين: إحداهما بالمفتاح index والأخرى بالمفتاح group.
dimension list كل مَعلمة في القائمة هي عبارة عن خريطة، ويجب أن تحتوي كل مَعلمة خريطة على مَعلمتَين فرعيتَين: إحداهما بالمفتاح index والأخرى بالمفتاح dimension.
metric list كل مَعلمة في القائمة هي عبارة عن خريطة، ويجب أن تحتوي كل مَعلمة خريطة على مَعلمتَين فرعيتَين: إحداهما بالمفتاح index والأخرى بالمفتاح metric.
fieldsToSet list اختياريّ. كل مَعلمة في القائمة هي عبارة عن خريطة، ويجب أن تحتوي كل مَعلمة خريطة على مَعلمتَين فرعيتَين: إحداهما بالمفتاح fieldName والأخرى بالمفتاح value. لا يمكن حاليًا الوصول إلى الحقول التالية إلا باستخدام الحقولToSet: anonymizeIp وsessionControl وappName وappVersion وscreenName (المعروف سابقًا باسم contentDescription) و sampleRate.
nonInteraction boolean أو template معلومات تسجيل دخول "trackType=TRACK_EVENT"
eventCategory template معلومات تسجيل دخول "trackType=TRACK_EVENT"
eventAction template معلومات تسجيل دخول "trackType=TRACK_EVENT"
eventLabel template معلومات تسجيل دخول "trackType=TRACK_EVENT"
eventValue template معلومات تسجيل دخول "trackType=TRACK_EVENT"
socialNetwork template معلومات تسجيل دخول "trackType=TRACK_SOCIAL"
socialAction template معلومات تسجيل دخول "trackType=TRACK_SOCIAL"
socialActionTarget template معلومات تسجيل دخول "trackType=TRACK_SOCIAL"
timingVar template معلومات تسجيل دخول "trackType=TRACK_TIMING"
timingCategory template معلومات تسجيل دخول "trackType=TRACK_TIMING"
timingLabel template معلومات تسجيل دخول "trackType=TRACK_TIMING"
timingValue template معلومات تسجيل دخول "trackType=TRACK_TIMING"
exceptionDescription template معلومات تسجيل دخول "trackType=TRACK_EXCEPTION"
exceptionFatal boolean أو template معلومات تسجيل الدخول إلى eventType=TRACK_EXCEPTION إذا كان النوع template، يجب أن تشير القيمة إلى وحدة ماكرو يتم تقييمها إلى boolean.
مثال

المكان الذي تم فيه استخدام trackType=TRACK_APPVIEW:

{
  "accountId": "103020",
  "containerId": "666282",
  "liveOnly": false,
  "name": "Universal Analytics App View",
  "parameter": [
    {
      "key": "trackingId",
      "type": "template",
      "value": "UA-123-1"
    },
    {
      "key": "trackType",
      "type": "template",
      "value": "TRACK_APPVIEW"
    },
    {
      "key": "contentGroup",
      "list": [
        {
          "map": [
            {
              "key": "index",
              "type": "template",
              "value": "0"
            },
            {
              "key": "group",
              "type": "template",
              "value": "cg0"
            }
          ],
          "type": "map"
        }
      ],
      "type": "list"
    },
    {
      "key": "dimension",
      "list": [
        {
          "map": [
            {
              "key": "index",
              "type": "template",
              "value": "0"
            },
            {
              "key": "dimension",
              "type": "template",
              "value": "dim0"
            }
          ],
          "type": "map"
        }
      ],
      "type": "list"
    },
    {
      "key": "metric",
      "list": [
        {
          "map": [
            {
              "key": "index",
              "type": "template",
              "value": "0"
            },
            {
              "key": "metric",
              "type": "template",
              "value": "cm0"
            }
          ],
          "type": "map"
        }
      ],
      "type": "list"
    },
    {
      "key": "fieldsToSet",
      "list": [
        {
          "map": [
            {
              "key": "fieldName",
              "type": "template",
              "value": "fn0"
            },
            {
              "key": "value",
              "type": "template",
              "value": "fv0"
            }
          ],
          "type": "map"
        },
        {
          "map": [
            {
             "type": "template",
             "key": "fieldName",
             "value": "anonymizeIp"
            },
            {
             "type": "template",
             "key": "value",
             "value": "true"
            }
          ],
          "type": "map"
        },
        {
          "map": [
            {
             "type": "template",
             "key": "fieldName",
             "value": "appName"
            },
            {
             "type": "template",
             "key": "value",
             "value": "myApp"
            }
          ],
          "type": "map"
        },
        {
          "map": [
            {
             "type": "template",
             "key": "fieldName",
             "value": "sessionControl"
            },
            {
             "type": "template",
             "key": "value",
             "value": "mySessionControl"
            }
          ],
          "type": "map"
        }
      ],
      "type": "list"
    }
  ],
  "tagId": "9",
  "type": "ua"
}

المكان الذي تم فيه استخدام trackType=TRACK_EVENT:

{
  "accountId": "103020",
  "containerId": "666282",
  "liveOnly": false,
  "name": "Universal Analytics Event",
  "parameter": [
    {
      "key": "trackingId",
      "type": "template",
      "value": "UA-123-1"
    },
    {
      "key": "trackType",
      "type": "template",
      "value": "TRACK_EVENT"
    },
    {
      "key": "nonInteraction",
      "type": "boolean",
      "value": "true"
    },
    {
      "key": "contentGroup",
      "type": "list"
    },
    {
      "key": "dimension",
      "type": "list"
    },
    {
      "key": "metric",
      "type": "list"
    },
    {
      "key": "fieldsToSet",
      "type": "list"
    },
    {
      "key": "eventCategory",
      "type": "template",
      "value": "cat"
    },
    {
      "key": "eventAction",
      "type": "template",
      "value": "act"
    },
    {
      "key": "eventLabel",
      "type": "template",
      "value": "label"
    },
    {
      "key": "eventValue",
      "type": "template",
      "value": "value"
    }
  ],
  "tagId": "10",
  "type": "ua"
}

المكان الذي تم فيه استخدام trackType=TRACK_SOCIAL:

{
  "accountId": "103020",
  "containerId": "666282",
  "liveOnly": false,
  "name": "Universal Analytics Social",
  "parameter": [
    {
      "key": "trackingId",
      "type": "template",
      "value": "UA-123-1"
    },
    {
      "key": "trackType",
      "type": "template",
      "value": "TRACK_SOCIAL"
    },
    {
      "key": "contentGroup",
      "type": "list"
    },
    {
      "key": "dimension",
      "type": "list"
    },
    {
      "key": "metric",
      "type": "list"
    },
    {
      "key": "fieldsToSet",
      "type": "list"
    },
    {
      "key": "socialNetwork",
      "type": "template",
      "value": "network"
    },
    {
      "key": "socialAction",
      "type": "template",
      "value": "action"
    },
    {
      "key": "socialActionTarget",
      "type": "template",
      "value": "action-target"
    }
  ],
  "tagId": "11",
  "type": "ua"
}

المكان الذي تم فيه استخدام trackType=TRACK_TIMING:

{
  "accountId": "103020",
  "containerId": "666282",
  "liveOnly": false,
  "name": "Universal Analytics Timing",
  "parameter": [
    {
      "key": "trackingId",
      "type": "template",
      "value": "UA-123-1"
    },
    {
      "key": "trackType",
      "type": "template",
      "value": "TRACK_TIMING"
    },
    {
      "key": "contentGroup",
      "type": "list"
    },
    {
      "key": "dimension",
      "type": "list"
    },
    {
      "key": "metric",
      "type": "list"
    },
    {
      "key": "fieldsToSet",
      "type": "list"
    },
    {
      "key": "timingVar",
      "type": "template",
      "value": "var"
    },
    {
      "key": "timingCategory",
      "type": "template",
      "value": "cat"
    },
    {
      "key": "timingLabel",
      "type": "template",
      "value": "label"
    },
    {
      "key": "timingValue",
      "type": "template",
      "value": "value"
    }
  ],
  "tagId": "12",
  "type": "ua"
}

المكان الذي تم فيه استخدام trackType=TRACK_EXCEPTION:

{
  "accountId": "103020",
  "containerId": "666282",
  "liveOnly": false,
  "name": "Universal Analytics Exception",
  "parameter": [
    {
      "key": "trackingId",
      "type": "template",
      "value": "UA-123-1"
    },
    {
      "key": "trackType",
      "type": "template",
      "value": "TRACK_EXCEPTION"
    },
    {
      "key": "contentGroup",
      "type": "list"
    },
    {
      "key": "dimension",
      "type": "list"
    },
    {
      "key": "metric",
      "type": "list"
    },
    {
      "key": "fieldsToSet",
      "type": "list"
    },
    {
      "key": "exceptionDescription",
      "type": "template",
      "value": "description"
    },
    {
      "key": "exceptionFatal",
      "type": "boolean",
      "value": "true"
    }
  ],
  "tagId": "13",
  "type": "ua"
}

علامة الصورة المخصّصة

رمز النوع

img

المَعلمات
المفتاح Type Notes
useCacheBuster boolean وحدات الماكرو غير مسموح بها.
url template
cacheBusterQueryParam template
مثال
{
  "accountId": "103020",
  "containerId": "666282",
  "firingRuleId": [
    "1"
  ],
  "liveOnly": false,
  "name": "Custom Image Tag",
  "parameter": [
    {
      "key": "useCacheBuster",
      "type": "boolean",
      "value": "true"
    },
    {
      "key": "url",
      "type": "template",
      "value": "http://www.example.com"
    },
    {
      "key": "cacheBusterQueryParam",
      "type": "template",
      "value": "gtmcb"
    }
  ],
  "tagId": "14",
  "type": "img"
}