# Smart URLs

A smart URL refers to a URL that has been enhanced with various features that provide additional advantages. These features may include visitor tracking, customized display based on geographical location, redirection to different links based on the device used, advanced analytics, or the use of specific parameters to send additional data to the destination page. Smart URLs allow users to optimize and manage user experiences better and gain deeper insights into their users.

## INTEGRATION GUIDE

Please follow the instruction as shown in the video or documentation provided.

### Download

You can download the SmartUrls app files from the server by [clicking here](https://stopbot.net/stopbot-SmartUrls-v.1.2.zip), or you can open the SmartUrls app files on GitHub (<https://github.com/stopbot-net/smarturls/>).

### VIDEO

Here is a video guide on integrating ***SmartURLs*** into your server.

{% embed url="<https://youtu.be/mforsARfWJA>" %}

### DOCUMENTATION

Here is the documentation guide on integrating ***SmartURLs*** into your server.

#### BITVISE

* Login into your server
* Open New SFTP window
* Open your main web dir "/var/www/" or the directory that you already specified
* Upload the stopbot-SmartURLs File zip
* Unzip/Extract the stopbot-SmartURLs File zip
* Edit config.php then change with your APIKey, [Click here](https://stopbot.net/apikey) for APIKey

<pre class="language-php" data-title="config.php" data-line-numbers><code class="lang-php">&#x3C;?php
/*
     _              _           _                _   
    | |            | |         | |              | |  
 ___| |_ ___  _ __ | |__   ___ | |_   _ __   ___| |_ 
/ __| __/ _ \| '_ \| '_ \ / _ \| __| | '_ \ / _ \ __|
\__ \ || (_) | |_) | |_) | (_) | |_ _| | | |  __/ |_ 
|___/\__\___/| .__/|_.__/ \___/ \__(_)_| |_|\___|\__|
             | |                                     
             |_|                                     
                      [Stopbot SmartUrls v.1.2]

Guide   : https://docs.stopbot.net/service-guides/stopbot/smart-urls
Website : stopbot.net
contact : t.me @stopbotnet

*/


#Put your Apikey here.
<strong>$Apikey = "________________________________";
</strong></code></pre>

* You can create Shortlinks / SmartURLs in our control panel, [click here](https://docs.stopbot.net/panel-guides/services/stopbot/smart-urls) for details.
* To access the results of the Shortlinks / SmartURLs, please open <https://domain/keyname> or you can view them in our control panel, [click here](https://docs.stopbot.net/panel-guides/services/stopbot/smart-urls) for details.
* For information regarding visitor statistics, [click here](https://docs.stopbot.net/panel-guides/services/stopbot/smart-urls) for details.

#### CPANEL

* Open the [STOPBOT Control Panel](http://stopbot.net/signin) page and log in to your stopbot.net account using the registered credentials.
* Open the [SmartURLs](https://stopbot.net/shortlink) page and click on "Download SmartURLs".

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118283917464703036/image.png?width=1440&#x26;height=407" alt=""><figcaption><p>Download SmartURLs</p></figcaption></figure>

* Login to your Cpanel, then open "File manager" > public\_html.

<figure><img src="https://cdn.discordapp.com/attachments/1114094613460959233/1118285854008430733/image.png" alt=""><figcaption><p>Log in to cPanel</p></figcaption></figure>

<figure><img src="https://cdn.discordapp.com/attachments/1114094613460959233/1118286930958897273/image.png" alt=""><figcaption><p>Click "File Manager"</p></figcaption></figure>

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118287567553577010/image.png?width=1440&#x26;height=570" alt=""><figcaption><p>Click "public_html"</p></figcaption></figure>

* Click on "Upload".

<figure><img src="https://cdn.discordapp.com/attachments/1114094613460959233/1118288285299654736/image.png" alt=""><figcaption><p>Click "Upload"</p></figcaption></figure>

* Upload the "STOPBOT SmartUrls ZIPFILES" by either "Dropping files here to start uploading" or "selecting the file manually".

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118292146844356668/image.png?width=1440&#x26;height=545" alt=""><figcaption><p>Click "Select File"</p></figcaption></figure>

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118293363309940827/image.png?width=1440&#x26;height=682" alt=""><figcaption><p>Select "STOPBOT SMART URLS FILES" and Click "OPEN"</p></figcaption></figure>

* After the upload is complete, click on "Go Back to".

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118294109128511588/image.png?width=1308&#x26;height=683" alt=""><figcaption><p>After Complete, Click "Go Back to"</p></figcaption></figure>

* Then click on "STOPBOT SmartUrls ZIPFILES" and click on "Extract", and delete the "STOPBOT SmartUrls ZIPFILES" file.

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118295657015418940/image.png?width=1421&#x26;height=683" alt=""><figcaption><p>Select the file "STOPBOT SMARTURLS ZIPFILE" and then Click "Extract"</p></figcaption></figure>

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118296305765199974/image.png?width=1430&#x26;height=683" alt=""><figcaption><p>Click "Extract Files"</p></figcaption></figure>

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118297297361584159/image.png?width=1440&#x26;height=636" alt=""><figcaption><p>Select the file "STOPBOT SMARTURLS ZIPFILE" and then Click "Delete"</p></figcaption></figure>

* Please modify the "config.php" file and enter your API Key ([click here](https://stopbot.net/apikey) to find out your API Key).

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118298597197352970/image.png?width=1440&#x26;height=548" alt=""><figcaption><p>Select the file "config.php" and then Click "Edit"</p></figcaption></figure>

<figure><img src="https://cdn.discordapp.com/attachments/1114094613460959233/1118299332471439390/image.png" alt=""><figcaption><p>Click "Edit"</p></figcaption></figure>

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118300157226778624/image.png?width=1440&#x26;height=670" alt=""><figcaption><p>Change with your APIKEY, <a href="https://stopbot.net/apikey">click here</a> for apikey</p></figcaption></figure>

<figure><img src="https://media.discordapp.net/attachments/1114094613460959233/1118301109862268998/image.png?width=1440&#x26;height=498" alt=""><figcaption><p>Click "Save Changes"</p></figcaption></figure>

* You can create Shortlinks / SmartURLs in our control panel, [click here](https://docs.stopbot.net/panel-guides/services/stopbot/smart-urls) for details.
* To access the results of the Shortlinks / SmartURLs, please open <https://domain/keyname> or you can view them in our control panel, [click here](https://docs.stopbot.net/panel-guides/services/stopbot/smart-urls) for details.
* For information regarding visitor statistics, [click here](https://docs.stopbot.net/panel-guides/services/stopbot/smart-urls) for details.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stopbot.net/service-guides/stopbot/smart-urls.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
