# Embedding an Odnoklassniki (OK) Like Button on Your Site

Source: https://support.wix.com/en/article/embedding-an-odnoklassniki-ok-like-button-on-your-site (updated 2026-03-16)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

Embed a 'Like' button from Odnoklassniki (OK) to your Wix site by copying the embed code from OK and pasting it in your Editor.

![A screenshot of a 'like' button created on Odnoklassniki](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/13691038-5aa8-4672-9b95-348c0733cabc/2022/11/30/8798a79c-b2f0-48e7-8bd7-ed86a31d2a80/d69b8bcd-4d6b-4e2e-ae11-6e1925c144e6.png)

## Step 1: Retrieve the button code from Odnoklassniki

Odnoklassniki allows you to generate code to create different widgets on your site. To add a Like button to your site, generate and copy the code of the Like/Share button.

### To generate the code:

1. Go to [Odnoklassniki](https://apiok.ru/en/ext/like).
2. Customize your button in the button builder.
3. Copy the code that appears under **Code to insert**.

![A screenshot of the code to copy in Odnoklassniki](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/13691038-5aa8-4672-9b95-348c0733cabc/2022/12/16/6a9862b8-da5d-4a13-8cce-4fc605a12990/09d78e2b-4917-45ad-8a7b-05dcd4bf4d06.png)

---

## Step 2 | Embed the code into your site

Go to your Wix or Studio Editor and embed the code that you retrieved in step 1.

**Wix Editor:**

1. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/13691038-5aa8-4672-9b95-348c0733cabc/2022/11/16/92845eb5-1147-41b6-9ead-d7ccc0f6a873/ed093c3a-f2d9-43b6-bd03-527c703cd789.png)on the left side of the Editor.
2. Click **Embed Code**.
3. Click **Embed HTML**.

![A screenshot of the the Add Elements panel showing the option to Embed HTML.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/13691038-5aa8-4672-9b95-348c0733cabc/2022/11/14/812d4d9a-5546-454a-b67a-1c409ea8ef25/27fa9dc6-8be4-4d98-910b-7672941aa9e5.png)

1. Click **Enter Code**.
2. Make sure **Code** is selected under **What do you want to add?**.
3. Paste the code you copied from step 1 into the **Add your code here (HTTPS only)** field.
4. Click **Apply**.
5. (Optional) Enter alt text that describes what you're embedding in the **What's in the embed? Tell Google** field.
6. When ready, publish your site.

**Studio Editor:**

1. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/14/cef22a14-dfc9-43c7-a54f-72ed83266050/741248d2-4240-497e-a282-2a7d15d8afac.png) on the left side of the editor.
2. Click **Embed & Social**.
3. Click **Embed Code**.
4. Click **Add to Site** next to **Embed Code**.

![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/07611794-742f-4d53-8c5b-24ba712a6934/2024/03/31/eeaf24df-ba13-4c3c-abf9-e24fc6e82c82/ae114580-161c-424d-bdb8-749544ec629e.png)

1. Click **Enter Code**.
2. Make sure **Code** is selected under **What do you want to add?**.
3. Paste the code you copied from step 1 into the **Add your code here (HTTPS only)** field.
4. Click **Apply**.
5. (Optional) Enter alt text that describes what you're embedding in the **What's in the embed? Tell Google** field.
6. When ready, publish your site.

**Harmony Editor:**

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Click **+ Add** at the top left of the editor.
3. Click the **Arrow** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8769cf44-f342-494c-b25f-cc98c9da3e82/2025/12/07/584e3364-261a-4c90-a44e-8eb1504bf7e2/c4cf09c2-e2cf-481c-b6fd-a92150cb6437.png) to navigate to the **Embed** category.
4. Click **Embed Code**.
5. Click on the HTML element to enter your code.
6. Paste the code you copied from Odnoklassniki into the **Enter HTML embed code** field.
7. Click **Apply**.
8. (Optional) Enter alt text that describes what you're embedding in the **Accessible name** field.
9. When ready, publish your site.
