DSP 追蹤碼檢查

tags: 查追蹤碼GTMDSP

目的

本文件旨於說明如何簡單透過瀏覽器,檢查客戶網站,確認用GTM埋設的DSP平台追蹤碼是否能正確觸發,從源頭確認使用者的操作能否形成有效數據來源,以利後續廣告優化。

免責聲明:
1.本文件使用大廣建設建案的追蹤碼埋設案例作為截圖範例,僅供公司內部教學使用與參考,請勿外傳。
2.隨著 DSP 更新,文件內容可能也會有些許差異,如果有任何變動,我們會盡快更新此文件。
3.此文件的檢查針對使用GTM埋設的案例,若不是使用GTM埋設,則此文件不適用此情況,請再另外洽詢相關人員

相關說明

以下會簡略說明此文件內會使用到的相關詞彙,詳細閱讀如何操作前,請確認對這些詞彙有基礎的認識。

  • GTM(Google Tag Manager): 綁定客戶網站與追蹤碼的平台
    1. 在此平台取得的容器(一段原始碼),會放在客戶的網站中
    2. 埋設的追蹤碼和對應的觸發行為會在GTM裡設定
  • 追蹤碼: 指埋設於GTM的原始碼
    1. 當使用者觸發追蹤行為後,此段原始碼會將此次行為記錄下來成為一筆數據
    2. 每個平台有不同的格式,請按照不同平台的文件進行檢查
  • 觸發條件: 指使用者產生的特定行為(如瀏覽網頁,跳轉網頁,點按按鈕),追蹤碼會記錄此行為,作為後續行銷的參考數據
  • 無痕模式: 可於瀏覽器設定,不會儲存記錄的模式,可避免檢查受到其他因素影響
  • 開發者工具: 瀏覽器提供的工具,可以看到網站傳送資料(追蹤)的紀錄

步驟

  1. 正式客戶網站檢查前,需先完成前置作業,確定檢查的項目符合數據需求檢查環境無干擾
    1. 確認追蹤碼文件內容符合需求
    2. 完成瀏覽器設定開發者工具設定,避免因環境影響檢查結果
    3. 於客戶網站檢查GTM容器是否有埋設,有GTM才能進行後續檢查
  2. 在開發者工具上填入正確資訊,並按照不同事件動作來觸發追蹤碼
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

以上步驟的詳細細節請見以下內容,也可以對照索引來快速瀏覽

索引

前置作業

追蹤碼文件

  • 每次檢查都需要取得原始追蹤碼文件,裡面應包含以下資訊
    1. 不同平台的追蹤碼

    圖中的MF代表MultiForce,裡面包含DSP和DMP的追蹤碼,此兩個平台一定綁定出現

    1. 需要追蹤的事件
    2. 綁定的位置(按鈕、網址)

    按鈕可能會因電腦版或手機版的畫面尺寸變更,而導致位置不同,若文件內沒有附圖,再檢查前須先確認清楚

    1. 表單的測試資料
    2. GTM的id和所在google 帳號
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →

      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →

      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →

瀏覽器設定

  1. 請關閉 ADBlock 或防毒軟體
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  2. 請使用無痕模式
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

開發者工具設定

  1. 滑鼠右鍵「檢查」或按 「F12」打開開發者工具
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  2. 進入「網路」
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  3. 使用開發者工具檢查時:
    1. 開啟「保留記錄檔」
    2. 停用「快取」
    3. 選用「全部」
    4. 若搜尋紀錄過多,可以點選「清除」

    每次搜尋都會跑很多資源,推薦每測試一種事件就清理一次,以便後續檢查與紀錄

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

檢查GTM容器

確認檢查網頁有無埋設GTM容器
  1. 在「篩選」內填入"GTM"後重整頁面
  2. 確認搜查結果是否有此次埋設追蹤碼的GTM容器id(GTM-id)

若無正確的GTM容器,不論GTM內是否已設定好追蹤碼,皆不會觸發事件,導致檢查無效,因此請先確認GTM再進行後續檢查

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

檢查DSP追蹤碼

  1. 檢查時在「篩選」內輸入clickforce_rtid('id')中的id
  2. DSP不會顯示事件名稱,觸發的事件要看id辨別
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

瀏覽事件 Page View(PV)

  • 全站瀏覽事件: 網站內「所有」頁面都會觸發
  • 瀏覽事件: 只在網站內「特定」頁面觸發
全站瀏覽事件

全站瀏覽事件以下稱全站PV

  • 全站PV在網站內「所有」頁面都會觸發
  • 同一頁面重整一次觸發一次
  • 在GTM中,全站PV的觸發條件會選 "All Pages"
  • 檢查方法:
    1. 在「篩選」內輸入rtid

    若沒看到結果,可重整再確認

    1. 點擊搜尋結果,進入「酬載」,確認觸發的id相同
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →

      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
部分瀏覽事件
  • 和全站PV相似,但只在「特定」頁面觸發(可確認網址)
  • 同一頁面重整一次觸發一次
  • 在GTM中,瀏覽事件的觸發條件會選 「網頁瀏覽」並填入特定網址
  • 檢查方法:
    1. 確認網址為特定頁面網址

    此處以感謝頁為例

    1. 在「篩選」內輸入rtid

    若沒看到結果,可重整再確認

    1. 點擊搜尋結果,進入「酬載」,確認觸發的id相同

    有些感謝頁會設定一定時間後跳轉回首頁,此時只要確定有觸發紀錄即可

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

按鈕事件

  • 點擊綁定事件的按鈕就會觸發一次
  • 點按幾次觸發幾次
  • 在GTM中,按鈕事件的觸發條件會選 「點擊」
  • 檢查方法:
    1. 點擊按鈕後在「篩選」內輸入rtid
    2. 點擊搜尋結果,進入「酬載」,確認觸發的id相同
    3. 需注意按鈕內的icon和文字是否也能觸發
    4. 電腦版和手機版的按鈕位置可能會改變,兩種版本都要檢查
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →




表單事件

  • 觸發條件多會綁訂在按鈕上
  • 一般會做表單驗證,確認資料完整後,按送出按鈕才會觸發
  • 若無驗證,則和一般按鈕事件一樣,點按幾次觸發幾次
  • 若無驗證,須和客戶確認是否符合需求
  • 在GTM中,按鈕事件的觸發條件會選 「點擊」,但可能會在HTML裡寫入驗證的程式碼
  • 檢查方法:
    1. 在「篩選」內輸入rtid
    2. 輸入不完整測試資料
    3. 在資料不完整的狀態下點擊按鈕,確認是否有觸發
    4. 輸入完整測試資料,點擊按鈕
    5. 需注意按鈕內的icon和文字是否也能觸發
    6. 電腦版和手機版的按鈕位置可能會改變,兩種版本都要檢查
    7. 點擊搜尋結果,進入「酬載」,確認觸發的id相同

    送出後頁面可能會跳轉,只要確定有觸發紀錄即可




結語

以上內容為檢查使用GTM埋設DSP平台的追蹤碼的流程,請依照文件操作,若有任何問題,請盡量保留原始環境(有疑慮之網頁頁面),或截圖標示問題處,讓相關人員能更快理解並排除問題。

最後提醒,其餘埋設方式不在此文件描述範圍,請洽相關人員討論。

感謝您的耐心閱讀。