「ピクセルを接続する」をクリックした際に「連携解除処理でエラーが発生しました」と表示される場合の解決策をご案内いたします。
Shopifyの設定画面から「注文状況ページの追加スクリプト」を開き、LEEEPトラッキングスクリプトが記述されている場合は削除しましょう。
※LEEEP以外のスクリプトが記載されている場合、それらを誤って削除しないようにしてください。
<LEEEPの追加スクリプト例>
Plaintext
<script src="https://tracking.leeep.jp/v1/tracking/js"></script>
<script>
(_ => {
const products = [];
{% for line_item in checkout.line_items %}
products.push({
product_id: '{{line_item.product_id}}',
sku_code: '{{line_item.sku}}' ? '{{line_item.sku}}' : '{{line_item.product_id}}',
name: '{{line_item.title}}',
sales_price: Number('{{line_item.final_price}}') / 100,
quantity: Number('{{line_item.quantity}}'),
});
{% endfor %}
ParteTracking.order({
site_id: '1234567890123456',
order_id: '{{checkout.order_number}}',
discount_amount: Number('{{checkout.discounts_amount}}') / 100,
products: products,
uid: '{{customer.id}}',
});
})();
</script>