crevioCrevio

Embed Code

What is an embed code?

An embed code is a short snippet of HTML or JavaScript that shows content from another service inside your own website. You copy it from the service, such as YouTube, Google Maps, or a booking tool, and paste it into a page. The content then appears on your site and stays up to date, because it still loads from the original service.

How an embed code works

  1. Copy the code. Look for a "Share", "Embed", or "Add to website" option in the other service.
  2. Paste it into your page. Most website builders have an "Embed", "HTML", or "Code" block for this.
  3. Publish. Visitors now see the video, form, or widget on your page.

There are two common kinds:

  • iframe embeds open a small window on your page that shows another site. YouTube videos and Google Maps work this way.
  • Script embeds load a piece of JavaScript that builds a widget, such as a chat bubble or a review badge.

A simple iframe embed looks like this:

![youtube](VIDEO_ID)

Examples for small businesses

Business What they embed Why
Plumber Google Map of the service area Shows customers where you work
Salon Booking calendar Lets clients book without calling
Contractor Review widget Shows recent reviews on the homepage
Personal trainer YouTube workout video Keeps visitors on the site
Coach Sign-up form Builds an email list for a lead magnet
Online seller Buy button or checkout Sells from a blog post or landing page
What the visitor sees Effort
Link Leaves your site to go to the other service Lowest
Embed code The content inside your page Low
Integration Data moves between tools behind the scenes, often through a webhook Higher

Use a link when the other page works fine on its own. Use an embed when you want people to stay on your site.

Things to check before you embed

  • Trust the source. A script embed can run code on your page. Only use embed codes from services you know.
  • Use HTTPS. Embeds that load over plain HTTP can be blocked by browsers.
  • Test on a phone. Fixed widths can break mobile layouts. Look for a "responsive" option or a width of 100%.
  • Watch page speed. Each embed adds loading time. Don't stack five widgets on one page.
  • Privacy rules. Some embeds set cookies or track visitors. If you have visitors in Europe, see GDPR.

Why an embed might not show up

  • The site blocks it. Many sites send a header (X-Frame-Options or a content security policy) that stops them from being shown inside another site. There is nothing you can do from your side except link to them instead.
  • Your builder strips scripts. Some editors remove JavaScript for safety. Use the platform's dedicated code block.
  • Mixed content. An HTTP embed on an HTTPS page is often blocked.
  • Wrong size. A height of 0 or a tiny box can hide the content.

How Crevio handles embeds

A Crevio product can include a website embed, which shows an external site or web app inside your buyer's dashboard after they purchase. Crevio checks the site's X-Frame-Options header first, and sites that block embedding can't be added, so use a link experience for those instead. See Experiences.

Your business,on autopilot.

An AI employee that handles your website, marketing and operations.

Get started for free
Back to Glossary

Give Crevio its first job today

Get started for free

30 jobs, one Crevio. Pick any of them below.

Automations

Overnight, while you slept

  1. 1:04 amThanked 6 new customers by email
  2. 2:30 amTagged 3 sign-ups from your form
  3. 6:00 amSent your weekly sales report

Website

rosastacos.com
MenuCateringVisit

Catering for every party

Company formation

Certificate of Formation

Company
Rosa’s Tacos LLC
State
Texas
EIN
Issued

App builder

Members app for Studio North

Members

128

Classes this week

24

Waitlisted

9

Studio

Make a holiday version, a story and a 6 second clip

Holiday

Story

6s clip

Developers

agent.ts

await crevio.chats.create({

message: 'Refund order 1042',

approvalMode: 'supervised',

})

status: 'waiting_for_approval'

approval: 'apr_8Kd2'

Social scheduling

Next week, 7 posts

Mon

9 am

Tue

12 pm
6 pm

Wed

10 am

Thu

8 am
5 pm

Fri

7 pm

Email marketing

Sent

1,240

Opened

58%

Sales

$3,480

Autumn botanicals is open

Four live painting classes, starting October 3. Twenty seats.

Save my seat

Ads

Sponsored

Fresh coffee, two blocks away

Spent

$42

Clicks

318

Orders

17

Blog

#2 on Google1,240 visits

How to keep a sourdough starter alive on vacation

6 min read, published Tuesday

SEO and GEO

best bike repair near me

AI answer

Spoke & Wheel is a highly rated local shop known for same-day tune-ups.

spokeandwheel.com

Spoke & Wheel, bike repair in Austin

DM automation

m

maya.moves

Commented on your post

PLAN

Here’s your free 4-week plan. Reply GO for the full program.

Free 4-week home plan

Get it

Payments

Today’s orders

  • AR

    Ana Ruiz

    Speckled mug set

    $64.00
  • TB

    Tom Becker

    Gift card

    $50.00
  • JP

    Jen Park

    Pour-over kit

    $38.00

Invoicing

Quote Q-000018

Sarah Kim

Website build
$2,500
Hosting, first month
$150
Total
$2,650
PAID

E-signatures

Client agreement

Jordan Lee
Signed 9:41 am
You
Signed 10:02 am
Sealed PDF
Emailed to both

Bookings

Mon

Tue

2 pm

Wed

Thu

Fri

Private yoga, Maya

Tue, 2 pm · Booked and paid, $80

Courses

Sourdough at Home

  • Feeding your starter
  • The first fold
  • Shaping the loaf

Forms

48 sign-ups this week

Join the waitlist

Save my spot

Inbox

Inbox3
JC

Jamie Cole

Chipped mug in order #1042

My order arrived with a chipped mug. Can you help?

Draft by Crevio

So sorry, Jamie. A replacement ships tomorrow, no need to send it back.

SendEdit

AI receptionist

ML

Maria Lopez

Call, 1:42

  • Hi Maria, you asked for a free estimate. Does Thursday work?
  • Thursday at 10 is perfect.

Booked Thursday, 10 am

AI website chatbot

Do you have anything Saturday morning?

Yes, 9:45 is open. Want me to book it for Biscuit?

CRM

Open pipeline

$20,800

New

BS

Bloom Studio

$1,200

L&

Lee & Co

$3,400

Quoted

WD

Whitfield Dental

$8,500

Won

HC

Harbor Cafe

$2,900

SK

Sarah Kim

$4,800

Leads

  • DW

    Dana Whitfield

    Owner, Whitfield Dental

    Verified
  • ML

    Marcus Lee

    Office manager, Lee & Co

    Verified
  • PS

    Priya Shah

    Founder, Bloom Studio

    Verified

Analytics

Sales this month

$12,480

Up 18% on September

Get started for free