ابتدائی رسائی کی درخواست کریں

اپنا پہلا نام اور ای میل یا فون نمبر درج کریں۔ ہم Tajo تک رسائی کی تفصیلات کے ساتھ آپ سے رابطہ کریں گے۔

BigCommerce انٹیگریشن گائیڈ

یہ گائیڈ آپ کو Tajo کو اپنے BigCommerce اسٹور کے ساتھ جوڑنے کے تمام مراحل بتاتی ہے، تاکہ آپ گاہک سے تعلق، لائلٹی پروگرامز اور مارکیٹنگ آٹومیشن کی صلاحیتیں حاصل کر سکیں۔

جائزہ

Tajo اور BigCommerce کا انٹیگریشن آپ کو یہ سہولت دیتا ہے:

  • گاہک کا ڈیٹا سنک کریں خودکار طور پر اپنے BigCommerce اسٹور سے
  • آرڈرز اور پروڈکٹس ٹریک کریں ذاتی نوعیت کی مارکیٹنگ کے لیے
  • لائلٹی پروگرامز چلائیں پوائنٹس، درجوں اور انعامات کے ساتھ
  • مارکیٹنگ مہمات خودکار بنائیں Brevo کے ذریعے (ای میل، SMS، واٹس ایپ)
  • گاہکوں کو سیگمنٹ کریں خریداری کے رویے اور انگیجمنٹ کے مطابق
  • ملٹی اسٹور فرنٹ آپریشنز کی سپورٹ حاصل کریں

پیشگی شرائط

انٹیگریشن شروع کرنے سے پہلے یقینی بنائیں کہ آپ کے پاس یہ موجود ہیں:

  • BigCommerce اسٹور کسی بھی پلان پر (Standard، Plus، Pro یا Enterprise)
  • Tajo اکاؤنٹ فعال سبسکرپشن کے ساتھ
  • Brevo اکاؤنٹ (اختیاری، مارکیٹنگ آٹومیشن کے لیے)
  • اسٹور کی API اسناد (مناسب scopes والا API اکاؤنٹ)

مرحلہ 1: Tajo ایپ انسٹال کریں

BigCommerce ایپ مارکیٹ پلیس سے

  1. اپنے BigCommerce کنٹرول پینل میں جائیں
  2. Apps → Marketplace پر جائیں
  3. “Tajo” تلاش کریں
  4. Get This App پر کلک کریں
  5. اجازتوں کا جائزہ لیں اور Install پر کلک کریں
  6. اپنا Tajo اکاؤنٹ کنیکٹ کرنے کے لیے سیٹ اپ وزرڈ پر عمل کریں

API کنفیگریشن

انسٹالیشن کے بعد API رسائی کنفیگر کریں:

{
"api_credentials": {
"client_id": "your_client_id",
"client_secret": "your_client_secret",
"access_token": "your_access_token",
"store_hash": "your_store_hash"
},
"scopes": [
"store_v2_customers",
"store_v2_orders",
"store_v2_products",
"store_cart",
"store_checkout"
]
}

مرحلہ 2: ڈیٹا سنک کنفیگر کریں

گاہک کی سنک کی سیٹنگز

طے کریں کہ گاہک کا کون سا ڈیٹا سنک ہونا چاہیے:

{
"sync_settings": {
"customers": {
"enabled": true,
"sync_frequency": "real-time",
"fields": [
"email",
"first_name",
"last_name",
"phone",
"company",
"customer_group_id",
"store_credit",
"addresses",
"date_created"
]
},
"orders": {
"enabled": true,
"sync_frequency": "real-time",
"include_products": true,
"include_shipping": true,
"include_coupons": true
},
"products": {
"enabled": true,
"sync_frequency": "hourly",
"include_variants": true,
"include_images": true,
"include_custom_fields": true
}
}
}

ویب ہک کنفیگریشن

Tajo یہ BigCommerce ویب ہکس رجسٹر کرتا ہے:

ویب ہکمقصد
store/customer/createdنئے گاہکوں کو Tajo اور Brevo میں سنک کریں
store/customer/updatedگاہک کی پروفائلز تازہ رکھیں
store/order/createdخریداری ٹریک کریں، لائلٹی پوائنٹس دیں
store/order/statusUpdatedاسٹیٹس پر مبنی مہمات ٹریگر کریں
store/cart/createdچھوڑی جانے والی کارٹ کے لیے کارٹ ٹریک کریں
store/cart/updatedکارٹ چھوڑنے کے سلسلے اپ ڈیٹ کریں
store/product/updatedپروڈکٹ کیٹلاگ سنک رکھیں

ملٹی اسٹور فرنٹ سپورٹ

متعدد اسٹور فرنٹس والے BigCommerce Enterprise کے لیے:

{
"multi_storefront": {
"enabled": true,
"storefronts": [
{
"channel_id": 1,
"name": "Main Store",
"loyalty_program": "default"
},
{
"channel_id": 2,
"name": "Wholesale",
"loyalty_program": "b2b_program"
},
{
"channel_id": 3,
"name": "International",
"loyalty_program": "global_program"
}
],
"sync_across_channels": true
}
}

مرحلہ 3: لائلٹی پروگرام سیٹ اپ کریں

پوائنٹس سسٹم کنفیگر کریں

const pointsConfig = {
// Points per dollar spent
purchasePoints: {
enabled: true,
rate: 1, // 1 point per $1
roundingMode: 'floor'
},
// Bonus actions
bonusPoints: {
accountCreation: 100,
firstPurchase: 200,
reviewSubmitted: 50,
referralMade: 500,
birthdayBonus: 100,
newsletterSignup: 25
},
// Customer group multipliers
customerGroupMultipliers: {
'Retail': 1.0,
'VIP': 1.5,
'Wholesale': 0.5,
'Platinum': 2.0
}
};

لائلٹی کے درجے

const loyaltyTiers = [
{
name: 'Bronze',
minPoints: 0,
benefits: [
'1 point per $1 spent',
'Birthday bonus points',
'Member-only promotions'
]
},
{
name: 'Silver',
minPoints: 1000,
benefits: [
'1.25x points multiplier',
'Free shipping on orders $50+',
'Early access to sales'
]
},
{
name: 'Gold',
minPoints: 5000,
benefits: [
'1.5x points multiplier',
'Free shipping on all orders',
'Exclusive product access',
'Priority support'
]
},
{
name: 'Platinum',
minPoints: 15000,
benefits: [
'2x points multiplier',
'Free express shipping',
'VIP experiences',
'Dedicated account manager'
]
}
];

مرحلہ 4: B2B گاہکوں کا انتظام

کمپنی اکاؤنٹس

BigCommerce ایسی B2B خصوصیات دیتا ہے جو Tajo کے ساتھ مربوط ہوتی ہیں:

const b2bConfig = {
companyAccounts: {
enabled: true,
syncCompanyData: true,
fields: [
'company_name',
'tax_id',
'credit_limit',
'payment_terms',
'price_list'
]
},
// B2B-specific loyalty rules
b2bLoyalty: {
orderVolumeBonus: {
threshold: 10000,
bonusMultiplier: 1.5
},
reorderPoints: {
enabled: true,
rate: 0.5 // 0.5 points per $1 on reorders
}
}
};

کسٹمر گروپس کا انٹیگریشن

// Map BigCommerce customer groups to Tajo segments
const customerGroupMapping = {
'Retail': {
tajoSegment: 'retail_customers',
loyaltyTier: 'Bronze',
emailList: 'retail_newsletter'
},
'Wholesale': {
tajoSegment: 'wholesale_customers',
loyaltyTier: 'Silver',
emailList: 'wholesale_updates'
},
'VIP': {
tajoSegment: 'vip_customers',
loyaltyTier: 'Gold',
emailList: 'vip_exclusive'
}
};

مرحلہ 5: چھوڑی گئی کارٹ کی بحالی

کارٹ ٹریکنگ

// BigCommerce cart webhook handler
async function handleCartWebhook(event) {
const cart = await bigcommerce.carts.get(event.data.cartId);
if (!cart.customer_id && !cart.email) {
return; // Can't track without identity
}
await tajo.carts.track({
customerId: cart.customer_id,
email: cart.email,
cartId: cart.id,
items: cart.line_items.physical_items.map(item => ({
productId: item.product_id,
variantId: item.variant_id,
title: item.name,
quantity: item.quantity,
price: item.sale_price || item.list_price,
image: item.image_url
})),
totalPrice: cart.cart_amount,
currency: cart.currency.code,
checkoutUrl: cart.redirect_urls?.checkout_url
});
}

بحالی کا سلسلہ

{
"abandoned_cart_sequence": {
"trigger": {
"event": "cart_abandoned",
"delay": "1 hour"
},
"messages": [
{
"delay": "1 hour",
"channel": "email",
"template": "cart_reminder_1",
"subject": "You left something behind!"
},
{
"delay": "24 hours",
"channel": "email",
"template": "cart_reminder_2",
"subject": "Your cart is waiting - 10% off inside"
},
{
"delay": "72 hours",
"channel": "sms",
"template": "cart_sms_final"
}
],
"exit_conditions": [
"order_completed",
"cart_emptied",
"unsubscribed"
]
}
}

مرحلہ 6: مارکیٹنگ آٹومیشن

گاہکوں کے سیگمنٹس

const bigcommerceSegments = [
// Purchase behavior
{
name: 'First-Time Buyers',
conditions: { orders_count: 1 }
},
{
name: 'Repeat Customers',
conditions: { orders_count: { $gte: 2 } }
},
{
name: 'High-Value Customers',
conditions: { total_spent: { $gte: 1000 } }
},
// Customer groups
{
name: 'Wholesale Accounts',
conditions: { customer_group: 'Wholesale' }
},
// Engagement
{
name: 'At-Risk Customers',
conditions: {
last_order_date: { $lt: '-90 days' },
orders_count: { $gte: 2 }
}
}
];

خودکار مہمات

// Order status change triggers
bigcommerce.webhooks.on('store/order/statusUpdated', async (event) => {
const order = await bigcommerce.orders.get(event.data.orderId);
const customer = await tajo.customers.getByEmail(order.billing_address.email);
switch (event.data.status.new_status) {
case 'Shipped':
await brevo.trackEvent(customer.email, 'order_shipped', {
orderId: order.id,
trackingNumber: order.tracking_number,
carrier: order.shipping_carrier
});
break;
case 'Completed':
// Award loyalty points
const points = calculatePoints(order, customer);
await tajo.loyalty.awardPoints(customer.id, points);
// Trigger review request after 14 days
await brevo.scheduleEvent(customer.email, 'review_request', {
orderId: order.id,
products: order.products
}, { delay: '14 days' });
break;
}
});

مرحلہ 7: اینالیٹکس

ڈیش بورڈ کے میٹرکس

const dashboardMetrics = {
customers: {
total: await tajo.analytics.count('customers'),
byChannel: await tajo.analytics.groupBy('customers', 'channel_id'),
newThisMonth: await tajo.analytics.count('customers', {
created_at: { $gte: 'this_month' }
})
},
revenue: {
total: await tajo.analytics.sum('orders.total'),
byChannel: await tajo.analytics.groupBy('orders', 'channel_id', {
aggregate: 'sum',
field: 'total'
}),
averageOrderValue: await tajo.analytics.avg('orders.total')
},
loyalty: {
activeMembers: await tajo.analytics.count('loyalty_members'),
pointsIssued: await tajo.analytics.sum('points.awarded'),
redemptionRate: await tajo.analytics.pointsRedemptionRate()
}
};

مسائل کا حل

API کی ریٹ لمٹس

// Implement rate limiting
async function bigcommerceApiCall(endpoint, options, retries = 3) {
for (let i = 0; i < retries; i++) {
try {
const response = await fetch(endpoint, options);
if (response.status === 429) {
const retryAfter = response.headers.get('X-Rate-Limit-Time-Reset-Ms');
await sleep(parseInt(retryAfter) || Math.pow(2, i) * 1000);
continue;
}
return response;
} catch (error) {
if (i === retries - 1) throw error;
}
}
}

ویب ہک کی تصدیق

// Verify BigCommerce webhook signature
function verifyWebhook(payload, signature, secret) {
const expected = crypto
.createHmac('sha256', secret)
.update(payload)
.digest('base64');
return crypto.timingSafeEqual(
Buffer.from(expected),
Buffer.from(signature)
);
}

اگلے اقدامات

  1. Brevo انٹیگریشن کنفیگر کریں ای میل اور SMS مہمات کے لیے
  2. ویب ہکس سیٹ اپ کریں ریئل ٹائم ایونٹس کے لیے
  3. گاہکوں کے سیگمنٹس بنائیں ہدف شدہ مارکیٹنگ کے لیے
  4. ای میل ٹیمپلیٹس بنائیں خودکار مہمات کے لیے

سپورٹ

ابتدائی رسائی کی درخواست کریں

اپنا پہلا نام اور ای میل یا فون نمبر درج کریں۔ ہم Tajo تک رسائی کی تفصیلات کے ساتھ آپ سے رابطہ کریں گے۔

خودکار شناخت
AI معاون

السلام علیکم! دستاویزات کے بارے میں کچھ بھی پوچھیں۔