Integration GuideCustom Website & Webhooks

Connect Any Website or Custom Store. Step-by-Step Guide.

AriseSell provides two seamless integration methods: an analytics-only client-side tracking script for visitor and purchase signals, and an authenticated server-to-server webhook API for custom backends.

Open Integrations Console ➔REST Webhook APIZero Dependencies100% Tenant Isolated

Method 1: Website Tracking Script (<head>)

Fastest setup for standard HTML sites, WordPress, landing pages, and Webflow.

1. Copy Your Pixel Tag

Open Integrations → Website to get your pre-filled script snippet with your unique store slug:

website-head-snippet.html
1<script
2 src="https://arisesell.com/pixel.js"
3 data-arise-store="YOUR_STORE_SLUG"
4 async>
5</script>

2. Placement by Platform

Standard HTML / Landing Pages:Paste the tag directly before the closing </head> tag on all pages.
WordPress / WooCommerce:Go to Appearance → Theme File Editor → header.php and paste before </head>, or install a free plugin like "WPCode - Insert Headers and Footers".
Next.js / React (App Router):Add the <Script> component inside app/layout.tsx.
Google Tag Manager:Create a new tag of type Custom HTML, paste the script, and set the firing trigger to All Pages.

Method 2: Server-to-Server Order Webhook API

Recommended for custom backend checkouts (Node.js, Laravel, Django, Python).

1. API Endpoint & Authentication

POST URL:https://arisesell.com/api/v1/sync/external/order
Public Store Selector:X-Arise-Store-Key: YOUR_STORE_ID
X-Arise-Ingest-Token: YOUR_SERVER_INGEST_TOKEN

Keep the ingest token on your server, never in browser code or the pixel tag. Send only independently verified checkout orders; browser signals never create orders. Activate Website to create the separate credential inside Integrations → Website → Auth Header.

Shopify connections require that store's app signing secret; WooCommerce connections require the separate Secret configured on its webhook. Supply webhook_secret when connecting. Signing secrets shared across tenants are rejected. Disconnecting Website revokes its ingest token.

2. Request Payload Schema

order-payload.json
1{
2 "order_id": "STORE-1042",
3 "customer_name": "Rahim Ahmed",
4 "customer_phone": "01712345678",
5 "customer_address": "House 12, Road 4, Dhanmondi, Dhaka",
6 "customer_district": "Dhaka",
7 "total_amount": 2400,
8 "payment_method": "cod",
9 "items": [
10 {
11 "name": "Premium Cotton Shirt",
12 "sku": "SHIRT-BLK-M",
13 "qty": 2,
14 "unit_price": 1200
15 }
16 ]
17}

3. cURL Command Example

test-order.sh
1curl -X POST https://arisesell.com/api/v1/sync/external/order \
2 -H "Content-Type: application/json" \
3 -H "X-Arise-Store-Key: YOUR_STORE_ID" \
4 -H "X-Arise-Ingest-Token: YOUR_SERVER_INGEST_TOKEN" \
5 -d '{
6 "order_id": "STORE-1042",
7 "customer_name": "Rahim Ahmed",
8 "customer_phone": "01712345678",
9 "customer_address": "House 12, Road 4, Dhanmondi, Dhaka",
10 "total_amount": 2400,
11 "items": [{"name": "Shirt", "qty": 2, "unit_price": 1200}]
12 }'

Backend Code Snippets

Copy and adapt ready-made snippets for your backend environment.

JavaScript / TypeScript (Node.js & Next.js)

arisesell-sync.ts
1// Server only: call after checkout and any payment are independently verified.
2async function sendOrderToAriseSell(orderData) {
3 const response = await fetch("https://arisesell.com/api/v1/sync/external/order", {
4 method: "POST",
5 headers: {
6 "Content-Type": "application/json",
7 "X-Arise-Store-Key": process.env.ARISE_STORE_ID,
8 "X-Arise-Ingest-Token": process.env.ARISE_INGEST_TOKEN
9 },
10 body: JSON.stringify({
11 order_id: orderData.id,
12 customer_name: orderData.customerName,
13 customer_phone: orderData.phone,
14 customer_address: orderData.address,
15 customer_district: orderData.district,
16 total_amount: orderData.total,
17 payment_method: orderData.paymentMethod || "cod",
18 items: orderData.items
19 })
20 });
21
22 return await response.json();
23}

PHP / WordPress Custom Function

functions.php
1<?php
2// Server only: call after checkout and any payment are independently verified.
3function send_order_to_arisesell($order_data) {
4 $url = 'https://arisesell.com/api/v1/sync/external/order';
5
6 $args = array(
7 'headers' => array(
8 'Content-Type' => 'application/json; charset=utf-8',
9 'X-Arise-Store-Key' => getenv('ARISE_STORE_ID'),
10 'X-Arise-Ingest-Token' => getenv('ARISE_INGEST_TOKEN')
11 ),
12 'body' => json_encode($order_data),
13 'method' => 'POST',
14 'data_format' => 'body'
15 );
16
17 $response = wp_remote_post($url, $args);
18 return wp_remote_retrieve_body($response);
19}
20?>

Get started today

Your next customer is typing right now.

Connect your page, upload your products, and start with 50 free AI messages. If it doesn't earn its keep, walk away — nothing to cancel, nothing owed.

  • No card needed
  • Live in 10 minutes
  • Cancel whenever you like

What happens in the first week

  1. Day 1Your page is connected and answering in Bangla.
  2. Day 2Your catalog is synced; photo matching switches on.
  3. Day 4First orders confirmed and booked with the courier.
  4. Day 7You see your automated chats, closed sales, and ROI.