Shopify Data Source Setup for Web Events

  1. Home
  2. Docs
  3. Shopify Data Source Setup for Web Events
  4. Option 1: Shopify to Datahash

Option 1: Shopify to Datahash

Datahash offers a dedicated app on the Shopify Marketplace to complete the integration.

Step 1: Install the Datahash App

  1. Click here to install the Datahash App from the Shopify App Store.
  2. Ensure you are logged in to the correct Shopify store before proceeding.
  3. Click Install and grant the requested permissions.
  4. After installation, you will land on the Datahash App page. Click the “Click Here” hyperlink to proceed with the next steps.

Step 2: Set Up a Subdomain in Datahash

  1. You will be redirected to Datahash Studio. Log in to your Datahash account.
  2. Navigate to Website & E-commerce under the Sources list.
  3. Click on the Shopify connector tile.
  4. Before setting up the Shopify connector, you must configure a subdomain.
    • On the Subdomain screen, enter your desired subdomain (e.g., tracking.yourstore.com). This is crucial for enabling server-to-server first-party tracking.
    • Click Next.
  5. Datahash will generate DNS records for your subdomain. Map these records in your domain service provider.
  6. Once mapping is complete, click Proceed, then Finish to complete the subdomain setup.

Important:

  • Ensure the subdomain is hosted under the main domain’s registry.
  • Do not host the subdomain as a primary domain.

Step 3: Link the Subdomain to Shopify

  1. Copy the subdomain from Datahash.
  2. Paste it into Shopify.
  3. Click Enable Tracking.

Step 4: Enable Datahash App Embed Block

  1. In Shopify Admin, go to Online Store > Themes > Customize.
  2. In the left panel, select App embeds.
  3. Locate Neotag and enable it.
  4. Click Save and Publish.

Step 5: Enable Customer Events

  1. Exit the App embeds section by clicking Exit in the upper-right corner.
  2. In Shopify Admin, go to Settings > Customer Events.
  3. Click Add Custom Pixel.
  4. Enter a name, click Add Pixel, and paste the tracking code from Datahash.
  5. Give an appropriate name to the pixel, then click Add Pixel.
  6. Copy the code from the Shopify connector in the Datahash platform and paste it into Shopify.
  7. Click Save and then Connect.

How can we help?