> ## 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).

# Salla SEO - How to Connect Your Store to ClickRank SEO Tool

Integrating ClickRank.ai with your Salla.sa store allows you to leverage the platform's powerful optimization tools. Follow these steps to seamlessly connect the JavaScript code provided by ClickRank.ai using Google Tag Manager (GTM):

#### Step 1: Access Your Google Tag Manager Account

1. Go to [Google Tag Manager](https://tagmanager.google.com/) and log in.
2. If you don't already have an account, click **Create Account**:

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/image_164he50.png)
    
* Enter your account name (e.g., your company or store name).

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/image_g0uimu.png)
    
* Select your country and agree to the terms of service.
    
* Add a container name (e.g., your website's URL) and choose **Web** as the target platform.

* * ![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/image_situsq.png)

#### Step 2: Obtain the ClickRank.ai JavaScript Code

1. Log in to your ClickRank.ai dashboard then visit websites tab and click on JS snippet button next to your website name.
2. Copy the JavaScript snippet provided for integration. This is essential for enabling ClickRank to analyze and optimize your website.

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/image_1qudmwv.png)
* * 

#### Step 3: Add the Code to Google Tag Manager

1. In GTM, click **Add a New Tag**.

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/screely-1733947276453_1pdrmj3.png)

3. Set up the tag:
    
* Choose **Tag Configuration** and select **Custom HTML**.

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/screely-1733947515457_fi2x7n.png)
    
* Paste the ClickRank.ai JavaScript code into the HTML box and click on Support document.write

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/screely-1733947643712_1birlvm.png)

3. Configure the trigger:
    
* Click **Triggering** and choose **All Pages** to ensure the script runs site-wide.

4. Save the tag by clicking **Save**.

#### Step 4: Connect Google Tag Manager with Salla.sa

1. In your Salla.sa dashboard, go to the [Apps](https://s.salla.sa/apps) section.
2. Search for **Google Tag Manager** and install the app (if not already installed).

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/image_1fmd78.png)

4. Open the GTM app in Salla.sa and get ready to add your Container ID

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/screely-1733947964921_1hbhj4i.png)
    
* Enter your GTM container ID, which can be found in your GTM account dashboard.

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/screely-1733947847542_ncnz2u.png)
    
* Click **Activate** to enable GTM integration on your Salla store.

#### Step 5: Publish Changes in Google Tag Manager

1. Return to your GTM account and click **Submit** to publish your container.
2. Add a name for the version (e.g., "ClickRank Integration") and confirm.

![](https://storage.crisp.chat/users/helpdesk/website/b2355c4e94c0a800/screely-1733948035401_1kksnpm.png)

#### Step 6: Test the Integration

1. Use the **Preview** mode in GTM to ensure the script is firing correctly on your Salla.sa store.
2. Open your store and verify that ClickRank.ai is receiving data by checking the dashboard for insights and recommendations.
