JavaScript コンバージョントラッキングタグバージョン 3のフォーマット

HTTPSを使用するサイトの形式は次のとおりです。 HTTPを使用するサイトの場合、URLは「http」で始まる必要があります。

NOTE
バージョン 2とバージョン 3を使用するタイミングについて詳しくは、トラッキングタグに関するFAQを参照してください。
<script type='text/javascript'>
    (function() {
        var f = function() {
              EF.init({ eventType: "transaction",
                        transactionProperties : "ev_property=<property name>&ev_transid=<transid>",
                        segment : "",
                        searchSegment : "",
                        sku : "",
                        userid : "ef-userid",
                        pixelHost : "pixel.everesttech.net"

                        , allow3rdPartyPixels: 1});
              EF.main();
        };
        window.id5PartnerId=<ID5_PartnerID>
        window.EF = window.EF || {};
        if (window.EF.main) {
            f();
            return;
        }
        window.EF.onloadCallbacks = window.EF.onloadCallbacks || [];
        window.EF.onloadCallbacks[window.EF.onloadCallbacks.length] = f;
        if (!window.EF.jsTagAdded) {
            var efjs = document.createElement('script'); efjs.type = 'text/javascript'; efjs.async = true;
            efjs.src = 'https://www.everestjs.net/static/st.v3.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(efjs, s);
            window.EF.jsTagAdded=1;
        }
    })();
</script>
<noscript><img src="https://pixel.everesttech.net/<ef-userid>/t?ev_property=<property name>&ev_transid=<transid>" width="1" height="1"/></noscript>

どこで:

  • <ef-userid>は、Search、Social、およびCommerceが広告主に割り当てる一意の数値ユーザーIDです。

  • <ID5_PartnerID>は組織のID5 パートナーIDで、組織はID5との契約書に署名した後に受信します。 この変数は、組織がDSPを使用しており、ID5のユニバーサル IDに関連付けられたユーザーを追跡する カスタムセグメントがある場合にのみ含めます。

  • <propertyname>は追跡するコンバージョンです。 例えば、「登録」というコンバージョンをトラッキングする場合、タグにはパラメーターev_registration=<registration>が含まれ、各トランザクションの実際の収益(ev_registration=1など)を渡す必要があります。 複数のプロパティがトラッキングされると、アンパサンド (&)が結合されます(例:ev_registration=<registration>&ev_sale=<sale>)(例:ev_registration=1&ev_sale=12.99)。 注意: プロパティ名に特殊文字を含めることはできません。

  • <transid>は、広告主が生成し、トランザクションを識別するために渡す一意のトランザクション ID (実際の注文IDなど)です。 「Include unique transaction IDs」オプションが選択されている場合にのみ含まれます。

    Search, Social, & Commerceでは、トランザクション IDを使用して、同じトランザクション IDとプロパティ値を持つ重複するトランザクションを除外します。 トランザクション IDはTransaction Reportに含まれており、広告主のデータでAdobe Advertising内のデータを検証するために使用できます。 メモ:​広告主のデータにトランザクションごとに一意のIDが含まれていない場合、Search, Social, & Commerceはトランザクション時間に基づいて1つを生成します。

recommendation-more-help
advertising-help-search-social-commerce