> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.clickrank.ai/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Add ClickRank JavaScript Code to Your Website Header

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/image_u8iw89.png)
Adding the ClickRank JavaScript code to your website header is crucial for activating seamless SEO optimizations. Here’s a guide on how to do this for popular platforms like WordPress, Wix, and Shopify, along with recommended plugins for simplifying the process.
---

### Step 1: Copy the ClickRank JavaScript Code
1. Log in to your ClickRank account.
2. Navigate to the **Integration** section.
3. Locate the JavaScript snippet and click **Copy**.
---

### Step 2: Adding the Code to Your Website
Follow the platform-specific instructions below to embed the JavaScript code in your website header.
---

#### WordPress
1. **Using a Plugin (Recommended)**:
   - Install a plugin like **Insert Headers and Footers**:
     - Go to **Plugins > Add New** in the WordPress dashboard.
     - Search for “Insert Headers and Footers,” install, and activate it.
   - Navigate to **Settings > Insert Headers and Footers**.
   - Paste the ClickRank JS code into the **Header** section.
   - Save the changes.

2. **Manually**:
   - Navigate to **Appearance > Theme Editor**.
   - Select the `header.php` file from your theme files.
   - Paste the ClickRank code just before the closing `</head>` tag.
   - Save the changes.
---

#### Wix
1. Log in to your Wix account.
2. Go to **Settings > Tracking & Analytics**.
3. Click on **+ New Tool** and select **Custom**.
4. Paste the ClickRank JS code.
5. Set the **Pages** to "All Pages" and select "Head" for the code placement.
6. Click **Apply**.
---

#### Shopify
1. Log in to your Shopify admin panel.
2. Go to **Online Store > Themes**.
3. Click **Actions > Edit Code** for your active theme.
4. Locate and open the `theme.liquid` file.
5. Paste the ClickRank JS code just before the closing `</head>` tag.
6. Click **Save**.
---

### Step 3: Verify Installation
1. After adding the code, return to the **Integrations** section in ClickRank.
2. Click **Verify Ownership** to ensure the script is properly installed.
3. A success message will confirm the integration.
---

### Recommended Plugins and Tools
- **WordPress**: Insert Headers and Footers, Code Snippets.
- **Wix**: Built-in **Tracking & Analytics** tool.
- **Shopify**: Built-in **Code Editor** for themes.
---

### FAQs
1. **Do I need coding experience?**
   - No. Plugins and built-in tools make the process easy for all skill levels.

2. **What happens after adding the code?**
   - The ClickRank platform will begin optimizing your website based on SEO best practices and real-time data.

3. **Can I remove or update the code later?**
   - Yes, simply edit or remove the code using the same method you used to add it.
---

Adding the ClickRank JavaScript code is a quick and effective way to supercharge your SEO efforts. Follow these steps to ensure a smooth setup!