Skip to main content

Welcome to Remark SDK

Remark’s SDK enables you to integrate expert chat functionality into your website, providing your customers with real-time access to knowledgeable experts who can help them make informed purchasing decisions.

Quick Start

Get up and running with Remark in minutes. Add the script tag and start tracking customer events.

Key Features

Easy Integration

Add Remark to your site with a single script tag. No complex setup required.

Customer Tracking

Track product views, cart additions, and purchases to give experts context.

Widget Control

Programmatically open, close, and customize the chat widget behavior.

Event Handling

Listen to user interactions and create custom integrations.

Customization

Styling & Theming

Customize the widget’s appearance to match your brand using CSS variables and Shadow DOM parts.

Implementation Examples

Add the Remark script to your website’s head section:
<script
  type="text/javascript"
  src="https://chat-widget.withremark.com/api/loader?shop=your-domain.com"
  async
></script>
Track when customers view products to give experts context:
window.remark('track', {
  type: 'ProductPageView',
  productId: 'your-product-id'
});
Open the chat widget with custom options:
window.remark('open', {
  from: 'product-page',
  message: 'I need help with this product',
  mode: 'send'
});

What’s Next?

Installation Guide

Learn how to add Remark to your website and set up tracking.

Styling Guide

Customize the widget’s appearance to match your brand.

Advanced Usage

Explore advanced features like event handling and widget control.
Need help? Check out our implementation examples or contact our support team.