# Webflow

> How to add the Dub Analytics script to your Webflow site

import DubAnalyticsParams from "/snippets/dub-analytics-params.mdx";
import DubClientInstallVerify from "/snippets/dub-client-install-verify.mdx";
import ClientSideClickTrackingAddendum from "/snippets/client-side-click-tracking-addendum.mdx";

With Dub Analytics, you can track lead and sale conversions on your Webflow site, enabling you to measure the effectiveness of your marketing campaigns.

You can add the Dub Analytics script to your Webflow website same way you would add Google Analytics script or any other JavaScript code.

Follow these steps to add the script to your site:

- On your project's page, click on the **Webflow logo** in the left-hand side menu and choose **Project Settings**.
- Choose **[Custom Code](https://university.webflow.com/lesson/custom-code-in-the-head-and-body-tags?topics=site-settings)** from the menu and paste the Dub analytics script in the **Head Code** section.
- Click on the **Save Changes** button and then **Publish** your changes.

```html
<script src="https://www.dubcdn.com/analytics/script.js" defer></script>
```

<ClientSideClickTrackingAddendum />

<DubClientInstallVerify />

## Concepts

You can pass the following props to the Dub Analytics script to customize its behavior:

<DubAnalyticsParams />
