コンテンツにスキップ

Axon Pixel Shopify連携

Axon Shopify Pixelは、Shopifyに組み込まれたWeb Pixels APIを利用します。

Axon Customer Eventとの連携

  1. Settingsを選択します。

    shopify menu: Home, Orders, Products, Customers, Content, Finances, Analytics, Marketing, Discounts, Sales channels, Apps, Settings.

  2. Customer eventsを選択します。

    shopify Settings menu: General, Plan, Billing, Users and permissions, Payments, Checkout, Customer accounts, Shipping and delivery, Taxes and duties, Locations, Markets, Apps and sales channels, Domains, Customer events…

  3. Add custom pixelボタンをクリックします。

    Customer events. Explore pixel apps button. Add custom pixel button. Pixels: Manage app and custom pixels that access customer events with enhanced privacy and security.

  4. Pixel nameとして「Axon Shopify Pixel」と入力し、Add pixelをクリックします。

    Add custom pixel dialog. Did you check available apps first? Apps are the most secure option, with automatic updates, for integrating with third-party services. Explore pixels apps. Pixel name input field: “Axon Shopify Pixel”. This is an advanced feature that requires JavaScript knowledge. Shopify is not responsible for your use of pixels. Compliance with applicable laws, consents, code security, troubleshooting, and updates are your responsibility. Pixels are subject to the Shopify Terms of Service. Cancel button. Add pixel button.

  5. 以下のコードをコピーして、Codeフィールドにペーストします。 «your-event-key»をお持ちのAxonイベントキーに置き換えます。 Saveをクリックします。

    var AXON_EVENT_KEY='«your-event-key»';
    (function(w,d){var u='https://s.axon.ai/s/pixel.js';if(w.axon_s)return;var s=w.axon_s=function(){s.performOperation?s.performOperation.apply(s,arguments):s.operationQueue.push(arguments)};s.operationQueue=[];s.ts=Date.now();s.eventKey=AXON_EVENT_KEY;var f=d.getElementsByTagName('script')[0],e=d.createElement('script');e.async=!0;e.src=u;f.parentNode.insertBefore(e,f)})(window,document);
    axon_s('init');
    analytics.subscribe('all_events',async e=>axon_s('track',e,init));

    Axon Shopify Pixel.More actions drop-down option. Connect button. Pixel access is sandboxed: For enhanced security and stability, this pixel runs in a sandbox. Please consult with the third-party service provider about implementation best practices. Learn more. Customer privacy section: Permission drop-down, Data sale drop-down. Code input field.

  6. Connectをクリックします。Connect Axon Shopify Pixel to Quickstartダイアログが表示されます。

    Axon Shopify Pixel. More actions drop-down option. Connect button.

  7. Connectをクリックします。

    Connect Axon Shopify Pixel to Quickstart (b99f54f9) dialog. Connecting this pixel gives it secure access to your online store, checkout, and order confirmation page. This pixel is subject to the Shopify Terms of Service. Cancel button. Connect button.

  8. PixelのStatusConnectedであることを確認します。

    Customer events. Explore pixel apps button. Add custom pixel button. Pixels: Manage app and custom pixels that access customer events with enhanced privacy and security. App pixels in this list are using Shopify Web Pixel API, the officially supported way to integrate pixels. Learn more. Options: All, App pixels, Custom pixels. Search button. Sort button. Table with three columns: Pixels, Type, Status. One row: Axon Shopify Pixel, Custom, Connected.

Axon Scriptとの連携

  1. Themesをクリックします。

    shopify ⇒ Sales channels ⇒ Online Store ⇒ Themes.

  2. Add sectionをクリックします。

    Home page ⇒ Footer ⇒ Add section

  3. Custom Liquidをクリックします。

    Sections tab ⇒ Custom Liquid

  4. 以下のスクリプトコードを入力フィールドにペーストしてください。 «your-event-key»をお持ちのAxonイベントキーに置き換えます。 Top paddingBottom paddingのスライダーを動かして、0 pxに設定します。 Saveをクリックします。

    <script>
    window.ALBSS = {
    event_key: '«your-event-key»'
    };
    </script>
    <script src="https://res4.applovin.com/p/l/loader.iife.js" async></script>

    Custom Liquid. Code input field. Add app snippets or other Liquid code to create advanced customizations. Color scheme drop-down selector. Section padding: Top padding slider, Bottom padding slider. Remove section option.