# Configuring Your Website

CampaignPilot can integrate with your website by automatically adding a campaign widget promoting any new published campaigns.  The integration is done by adding a small snippet of Javascript to your website, very similar to Google Analytics and the Facebook Pixel.

### Adding the Javascript

**1)** Go to the Channels tab under the Settings. Then click on the Website channel on the left-hand side.

![](/files/-MIQQPh4eGN4KQ8qzo5r)

**2)** You'll need to add some Javascript to your website in order for CampaignPilot to work. Click the 'Add this Javascript snippet' link and copy the Javascript code. Then place it on your website just before the closing \</body> tag.  If you're unfamiliar with how to do this your website provider can easily assist in this process.

![](/files/-MIQRdM92GtQFrYeTE_d)

### Adjusting the Widget Style

You can adjust the display/style of the campaign widget by selecting the style you'd like from the 'Widget Type' drop down on this page.


---

# 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://help.campaignpilot.com/channel-setup/website.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.
