> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getjasin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Embed Cards

> Create beautiful, embeddable Amazon product cards for your website

## Overview

Jasin transforms Amazon product URLs into clean, beautiful product cards that you can embed on any
website. Simply paste an Amazon link, customize the appearance, and get a script tag to embed
anywhere.

***

## Creating Embed Cards

### From the Dashboard or My Products Page

1. **Sign in** to your Jasin dashboard at [getjasin.com](https://getjasin.com)
2. **Click the "Add Product" button** - This opens a modal to add a new product
3. **Paste Amazon URL** - Copy any Amazon product URL into the input field
4. **Preview your card** - See exactly how it will look on your website
5. **Choose theme** - Select light or dark theme
6. **Save** - Click the "Save" button to save the product
7. **Copy the embed code** - Use the script tag anywhere you want the product card to appear

### What You Get When Creating an Embed Card

Each embed generates a simple script tag like this:

```html theme={"system"}
<script
  async
  src="https://app.getjasin.com/loader.js"
  data-id="5faa7658-e0e0-403c-a484-49d19e6321e3"
  data-theme="light"
  data-show-badge="true"
></script>
```

### No Scripts Allowed? Use the Iframe Embed

Some platforms strip `<script>` tags from posts. For those, the embed code box has two tabs:
**Script (recommended)** and **HTML only (iframe)**. The iframe version runs no JavaScript on your
page and looks like this:

```html theme={"system"}
<iframe
  src="https://app.getjasin.com/api/embed-frame/your-embed-id?theme=light&show_badge=true&layout=fixed"
  width="100%"
  style="max-width:1080px;border:0;display:block;"
  height="680"
  frameborder="0"
  scrolling="no"
  loading="lazy"
  title="Product name product card"
></iframe>
```

A few things to know:

* **Same tracking** - Views and clicks are counted just like the script embed
* **Fixed height** - The frame is always 680px tall
* **No JavaScript needed** - Works anywhere plain HTML is allowed

***

## Live Example

Here's a real, live card — this is exactly what your visitors see. Both embed types render the same
card; this one uses the iframe.

[Example product card](https://app.getjasin.com/api/embed-frame/5faa7658-e0e0-403c-a484-49d19e6321e3?theme=light\&show_badge=true\&layout=fixed)

> [!NOTE]
>
> This documentation platform doesn't run script tags in page content, so the live example above
> uses the iframe embed, shown at phone width. On your own site, both embed types produce the
> identical card, and it adapts to your page — side-by-side on wide layouts, stacked like this on
> narrow ones.

***

## Embed Features

### Product Information

Your embedded cards automatically include:

* **Product image** from Amazon
* **Product title**
* **Current price** and availability
* **"View on Amazon" button** with your affiliate tag

### Responsive Design

* **Mobile-first** - Looks great on all devices
* **Flexible sizing** - Adapts to your website's layout
* **Fast loading** - Optimized for performance
* **Lightweight & fast** - Optimized script with minimal footprint

***

## Theme Options

> [tab] Light Theme
>
> Clean, minimal design with light backgrounds perfect for most websites.
>
> * White background
> * Dark text for readability
> * Subtle shadows and borders
> * Works great on light-colored sites

> [tab] Dark Theme
>
> Modern dark design that works great on dark websites.
>
> * Dark background
> * Light text for contrast
> * Subtle highlights
> * Perfect for dark-themed sites

***

## Customization Options

### Free Plan Features

* **Two themes** - Light and dark
* **Standard sizing** - Optimized dimensions
* **Basic analytics** - View and click tracking
* **Your own affiliate tag** - Commissions belong to you
* **3 product cards** - At a time (delete a card to free up a slot)

### Pro Plan Features

Everything in the free plan, plus:

* **Unlimited product cards**
* **Advanced analytics** - Detailed insights with bot filtering
* **Remove "Powered by Jasin" badge**
* **Priority support** - Email support within 24 hours

***

## Best Practices

> [card] Placement
>
> Place embed cards within relevant content for better engagement and higher click-through rates

> [card] Context
>
> Add context around your embeds - explain why you're recommending the product

> [card] Theme Choice
>
> Choose themes that match your website's design for a seamless experience

> [card] Performance
>
> The script loads asynchronously so it won't slow down your page

***

## Common Use Cases

### Blog Posts

Perfect for product recommendations within your blog content:

```html theme={"system"}
<p>I've been using this coffee maker for months and absolutely love it:</p>

<script
  async
  src="https://app.getjasin.com/loader.js"
  data-id="2d19689e-d85c-4837-b747-84f5e18c34c8"
  data-theme="light"
  data-show-badge="true"
></script>

<p>The programmable features make my mornings so much easier!</p>
```

### Product Roundups

Great for "best of" and comparison articles:

```html theme={"system"}
<h2>Our Top Pick: Best Wireless Headphones</h2>

<script
  async
  src="https://app.getjasin.com/loader.js"
  data-id="2d19689e-d85c-4837-b747-84f5e18c34c8"
  data-theme="light"
  data-show-badge="true"
></script>

<p>After testing 15 different models, these headphones stood out...</p>
```

***

## Technical Details

### How It Works

1. **Script loads** - The loader.js script loads asynchronously
2. **Card renders** - Product data is fetched and the card is displayed
3. **Tracking starts** - View tracking begins when the card is visible
4. **Click tracking** - Clicks are tracked when users click through to Amazon

### Performance

* **Lazy loading** - Cards only load when they're about to be visible
* **Cached data** - Product information is cached for fast loading
* **Minimal footprint** - Small script size for fast page loads
* **No dependencies** - Works without jQuery or other libraries

### Compatibility

* **All modern browsers** - Works in Chrome, Firefox, Safari, Edge
* **Mobile responsive** - Optimized for phones and tablets
* **Works anywhere you can paste a script tag** - Self-hosted WordPress, Shopify, Ghost, and static
  sites all work out of the box

> [!WARNING]
>
> Some platforms strip script tags from posts, or only allow custom code on a paid plan. If scripts
> aren't allowed, use the **HTML only (iframe)** embed instead — it works anywhere plain HTML does.

### Pricing Display

* **Currency format** - Prices display in USD as sourced from Amazon's US marketplace
* **International users** - When users click through to Amazon, prices switch to their local
  currency at checkout
* **Affiliate compatibility** - USD pricing keeps affiliate tracking and commission attribution
  working correctly
* **Consistent experience** - All embed cards show the same currency format regardless of viewer
  location

***

## Analytics & Tracking

Every embed automatically tracks:

* **Views** - When the product card is displayed
* **Clicks** - When users click through to Amazon
* **Performance** - Click-through rates and engagement

View detailed analytics in your dashboard to see which products perform best.

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.