助理技術文件
  • NEW!
    NEW!  Connect Ideas Across Notes
    Save time and share insights. With Paragraph Citation, you can quote others’ work with source info built in. If someone cites your note, you’ll see a card showing where it’s used—bringing notes closer together.
    Got it
        • Sharing URL Link copied
        • /edit
        • View mode
          • Edit mode
          • View mode
          • Book mode
          • Slide mode
          Edit mode View mode Book mode Slide mode
        • Customize slides
        • Note Permission
        • Read
          • Owners
          • Signed-in users
          • Everyone
          Owners Signed-in users Everyone
        • Write
          • Owners
          • Signed-in users
          • Everyone
          Owners Signed-in users Everyone
        • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invite by email
        Invitee

        This note has no invitees

      • Publish Note

        Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

        Your note will be visible on your profile and discoverable by anyone.
        Your note is now live.
        This note is visible on your profile and discoverable online.
        Everyone on the web can find and read all notes of this public team.

        Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Explore these features while you wait
        Complete general settings
        Bookmark and like published notes
        Write a few more notes
        Complete general settings
        Write a few more notes
        See published notes
        Unpublish note
        Please check the box to agree to the Community Guidelines.
        View profile
      • Commenting
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Suggest edit
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
      • Emoji Reply
      • Enable
      • Versions and GitHub Sync
      • Note settings
      • Note Insights New
      • Engagement control
      • Make a copy
      • Transfer ownership
      • Delete this note
      • Insert from template
      • Import from
        • Dropbox
        • Google Drive
        • Gist
        • Clipboard
      • Export to
        • Dropbox
        • Google Drive
        • Gist
      • Download
        • Markdown
        • HTML
        • Raw HTML
    Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Help
    Menu
    Options
    Engagement control Make a copy Transfer ownership Delete this note
    Import from
    Dropbox Google Drive Gist Clipboard
    Export to
    Dropbox Google Drive Gist
    Download
    Markdown HTML Raw HTML
    Back
    Sharing URL Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Customize slides
    Note Permission
    Read
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Write
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ###### tags: `客製素材` # 三方追蹤碼-Check List ## 靜態埋設 - 針對一般展示型廣告 (banner、圖文廣告)。 - 追蹤碼埋設方式為複製原始追蹤碼,視情況微調後貼入素材檔案內。 ### 埋設流程 1. 確認客戶提供檔案、埋設類型 埋設類型分為: - click tag (點擊觸發) - imrpession tag (曝光觸發) - vendor tag (一般直接包含在 impression tag 內,與曝光一起觸發) 2. 取下追蹤code,並修改 HTML tag 寫法 - 將 HTML tag 大寫改為小寫 (tag和attribute 全需使用小寫,可以使用 Prettier 自動調整為小寫) 3. 將修改後的 impression tag 直接埋入 HTML - 直接複製整段改過的 tag,不要只複製 src 網址,以免收數異常 - `noscript` 為瀏覽器禁用 JS 時的預防措施,請一併埋入,否則收數也可能不正常 4. 把 click tag 放置在系統中素材導頁欄位內 ### 示例 #### 1. 原檔 ```htmlmixed= <--Case : illuma--> <--Click--> https://mamaclub.com/campaign/illuma-big/?utm_source=clickforce&utm_medium=display&utm_campaign=illuma_big_zen_traffic_cfdisplay&utm_content=sand_cpc <--IAS tag (Impression): JavaScript--> <SCRIPT language='JavaScript1.1' SRC="https://ad.doubleclick.net/ddm/trackimpj/N703010.1371339CLICKFORCE.COM.TW/B29055367.354644447;dc_trk_aid=545840475;dc_trk_cid=184155990;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};ltd=?"></SCRIPT><SCRIPT TYPE="application/javascript" SRC="https://pixel.adsafeprotected.com/rjss/st/1290318/67855966/skeleton.js"></SCRIPT> <NOSCRIPT><IMG SRC="https://pixel.adsafeprotected.com/rfw/st/1290318/67855965/skeleton.gif?gdpr=${GDPR}&gdpr_consent=${GDPR_CONSENT_278}&gdpr_pd=${GDPR_PD}" BORDER=0 WIDTH=1 HEIGHT=1 ALT=""></NOSCRIPT> ``` #### 2. 靜態埋入後的 HTML 檔案 (片段) ```htmlmixed= <--Case : illuma--> <body style="margin: 0"> <div style="width: 300px; height: 250px"> <a href="%%CLICK_URL%%" target="_blank"> <img style="width: 100%; height: auto" src="https://cdn.holmesmind.com/image/creative/20230201/illuma/300x250.jpg" alt="" /> <!-- third party tag --> <script language="JavaScript1.1" src="https://ad.doubleclick.net/ddm/trackimpj/N703010.1371339CLICKFORCE.COM.TW/B29055367.354647702;dc_trk_aid=545806556;dc_trk_cid=183637450;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};ltd=?" ></script> <script type="application/javascript" src="https://pixel.adsafeprotected.com/rjss/st/1290318/67855970/skeleton.js" ></script> <noscript ><img src="https://pixel.adsafeprotected.com/rfw/st/1290318/67855969/skeleton.gif?gdpr=${GDPR}&gdpr_consent=${GDPR_CONSENT_278}&gdpr_pd=${GDPR_PD}" border="0" width="1" height="1" alt="" /></noscript> <!-- third party tag --> </a> </div> </body> ``` #### 3. DSP 上填入 click tag 導連 ![](https://i.imgur.com/JWSWIxB.png) ## 動態埋設 針對下列形式: - 創意型廣告(呈現畫面不分卡) - 創意型廣告(呈現畫面分卡) 利用 JavaScript 動態加入追蹤 code。 ### 埋設流程 1. 確認客戶提供檔案、埋設類型 埋設類型分為: - click tag (點擊觸發) - imrpession tag (曝光觸發) - vendor tag (一般直接包含在 impression tag 內,與曝光一起觸發) 2. 取下追蹤 code - 取下 `<script>` 或 `<img>` 裡的 src 連結 - 記下 HTML tag 內的 attribute,動態埋入時要完全一樣 3. 創建 HTML tag - tag:`<script>`、`<img>`、`<noscript>` - type:application/javascript 或 text/javascript,不寫可能會被瀏覽器阻攔,導致收數異常 - `<noscript>` 內包的`<img>`,須注意: 1. `<noscript>` 內的 `<img>` 須以 `innerHTML` 寫入 2. 若 `<noscript>` 內的 `<img>` 以 `createElement` 的方式創建 tag,載入時會先載入一次圖片,導致觸發錯誤、收數異常 - click tag 一般會直接透過系統設為主點擊,但已有導連,或click有一個以上時,其餘的 click tag 也要創建成`<script>` 4. 將創建的 HTML tag 動態加入 DOM (appendChild) - impression tag 需視廣告呈現,埋入不同元素內 - 若廣告呈現畫面不分卡,直接埋入外圍元素即可 - 若廣告呈現畫面有分卡,則在不同卡數畫面出現時再一併將 tag 加入 - click tag 需埋設至點擊觸發的元素上 ### 示例 #### 1. 原檔 ```htmlmixed= <--Case : Nespresso--> <--Click--> https://ad.doubleclick.net/ddm/trackclk/N6264.1371339CLICKFORCE.COM.TW/B29223104.357202893;dc_trk_aid=548177731;dc_trk_cid=185188280;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;ltd= <-- IAS tag (Impression): JavaScript--> <SCRIPT language='JavaScript1.1' SRC="https://ad.doubleclick.net/ddm/trackimpj/N6264.1371339CLICKFORCE.COM.TW/B29223104.357202893;dc_trk_aid=548177731;dc_trk_cid=185188280;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};ltd=?"></SCRIPT><SCRIPT TYPE="application/javascript" SRC="https://pixel.adsafeprotected.com/rjss/st/1323840/68805216/skeleton.js"></SCRIPT> <NOSCRIPT><IMG SRC="https://pixel.adsafeprotected.com/rfw/st/1323840/68805215/skeleton.gif?gdpr=${GDPR}&gdpr_consent=${GDPR_CONSENT_278}&gdpr_pd=${GDPR_PD}" BORDER=0 WIDTH=1 HEIGHT=1 ALT=""></NOSCRIPT> ``` #### 2. 動態埋入後的 HTML 檔案 (片段) ```htmlmixed= <--Case : Nespresso--> /* THIRD PARTY TAG */ let cfImpression = createElement("script", { src: "https://ad.doubleclick.net/ddm/trackimpj/N6264.1371339CLICKFORCE.COM.TW/B29223104.357202893;dc_trk_aid=548177731;dc_trk_cid=185188280;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};ltd=?", }), cfVendorA = createElement("script", { type: "application/javascript", src: "https://pixel.adsafeprotected.com/rjss/st/1323840/68805216/skeleton.js", }), cfVendorB = createElement("noscript", { innerHTML: '<img src="https://pixel.adsafeprotected.com/rfw/st/1323840/68805215/skeleton.gif?gdpr=${GDPR}&gdpr_consent=${GDPR_CONSENT_278}&gdpr_pd=${GDPR_PD}" border=0 width=1 height=1 alt="">', }); CFOutDiv.appendChild(cfImpression); CFOutDiv.appendChild(cfVendorA); CFOutDiv.appendChild(cfVendorB); ``` #### 3. DSP 上填入 click tag 導連 ![](https://i.imgur.com/y3RmLEE.png) ## 檢查流程 ### 前置作業 - 請關閉 ADBlock 或防毒軟體,並使用無痕模式,才能檢查到回傳值 - 使用開發者工具檢查時,開啟保留記錄檔、停用快取 ![](https://i.imgur.com/MSYINk6.png) ### 檢查項目 利用下列元素搜尋: - tag 裡的 id (點擊 & 曝光會是同一組 id) - script 的名稱 (例如:skeleton.js\/moatad.js) #### click tag - 點擊後在Network中檢查,是否有觸發資料傳送 ![](https://i.imgur.com/Zuy20Ax.png) - 點擊後在Element中檢查,tag是否有被加入至DOM中 ![](https://i.imgur.com/GZcMdpr.png) #### impression tag - 在Network中檢查,是否有觸發資料傳送 ![](https://i.imgur.com/5XEVqMm.png) - 在Element中檢查,tag是否有被加入至DOM中 ![](https://i.imgur.com/gTIxsGr.png) #### vendor tag - IAS tag - 在 Network 中檢查 dt? 與 skeleton.js ![](https://hackmd.io/_uploads/ryLbZb1JT.png) ![](https://i.imgur.com/XUsS6Pf.png) - 在 Element 中檢查,tag是否有被加入至DOM中 ![](https://i.imgur.com/fuvOHxk.png) - Moat tag - 在 Network 中檢查 pixel.gif? 與 moat ![](https://i.imgur.com/BJHDsYI.png) ![](https://i.imgur.com/qtP6sWr.png) - 在 Element 中檢查,tag是否有被加入至DOM中 ![](https://i.imgur.com/qRU51tg.png) - DV tag - 在 Network 中查詢 doubleverify,檢查 dvtp_src.js ![](https://i.imgur.com/UCYUaEp.png) - 在 Element 中查詢 doubleverify,確認 tag 有被加入 ![](https://i.imgur.com/tbdlW5p.png) - DAR tag - 在 Network 中查詢 imrworldwide,檢查 m? ![](https://i.imgur.com/NlVSmne.png) - 在 Element 中查詢 imrworldwide,確認 tag 有被加入 ![](https://i.imgur.com/0EOyI4r.png) ## Check List 以埋設 Tag 分類: ### CM Tag - [ ] HTML tag 大寫改為小寫 - [ ] 將 tag 內的 attribut 全部複製(包含 script type) - [ ] 埋入/貼上整段改過的 tag(`<img>`/`<script>`) - [ ] 在系統中放置或在檔案內埋入click tag - [ ] 在Network中用id或相關參數搜尋資源是否正常送出 - [ ] 在Element中用id或相關參數搜尋 HTML tag是否正常建置、加入DOM ### IAS Tag - [ ] HTML tag 大寫改為小寫 - [ ] 將 tag 內的 attribute 全部複製(包含 script type) - [ ] 埋入/貼上整段改過的 tag(`<img>`/`<script>`/`<noscript>`) - [ ] 在系統中放置或在檔案內埋入 click tag - [ ] 在 Network 中用搜尋 dt? => 確認 piv > 0、rmeas = 1、rend = 1 - [ ] 在 Element 中用 id 或相關參數搜尋 HTML tag & skeleton.js 是否埋設正確 ### Moat Tag - [ ] HTML tag 大寫改為小寫 - [ ] 將 tag 內的 attribute 全部複製(包含 script type) - [ ] 在 `<body>` 內埋入/貼上整段改過的 tag - [ ] 在Network中用 id/moatads/pixel.gif?,搜尋資源是否正常送出 - [ ] 在Element中用id或相關參數搜尋 HTML tag & moatads 是否正常建置、加入DOM ### LnData Tag (待確認) - [ ] 在 HTML 內新增 `<script>`,src 放入 impression URL - [ ] 在系統中放置或在檔案內埋入 click URL - [ ] 在Network中用id或相關參數搜尋資源是否正常送出 - [ ] 在Element中用id或相關參數搜尋 HTML tag是否正常建置、加入DOM ### DV Tag - [ ] HTML tag 大寫改為小寫 - [ ] 將 tag 內的 attribute 全部複製(包含 script type) - [ ] 埋入/貼上整段改過的 tag(`<img>`/`<script>`) - [ ] 在Network中用 sid/doubleverify 搜尋資源是否正常送出 - [ ] 在Element中用id或相關參數搜尋 HTML tag & doubleverify 是否正常建置、加入DOM ### DAR Tag - [ ] HTML tag 大寫改為小寫 - [ ] 將 tag 內的 attribute 全部複製(包含 script type) - [ ] 埋入/貼上整段改過的 tag - [ ] 在Network中用 imrworldwide 搜尋資源是否正常送出 - [ ] 在Element中用 imrworldwide 搜尋 HTML tag 是否正常建置、加入DOM ## 最後檢查(交叉檢查) - 確認以上流程,完成check list檢查後須交由另一位工程師檢查 - 兩位工程師都檢查無誤後,再於 Monday 上將狀態更改為「完成」,如發現問題,需於 Monday 上 update 留存紀錄(附截圖) 以下為示意圖(非真實案件) ![](https://i.imgur.com/Pg1fLRd.png) ![](https://i.imgur.com/ULaQz8r.png)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully