# Step 1: Embed Surface Tag



1. Navigate to the Framer site *settings*.
2. Scroll down to *Custom Code* section.
3. Add the following code in the *Start of &#x2A;*`<head>`** tag* section.

Check out the [**How to Get Site ID**](https://www.withsurface.com/docs/platform/traffic/surface-tag#where-to-find-your-site-id) page to get your site ID.

```html
<!-- Start Surface Tag -->

<script 
	src="https://cdn.jsdelivr.net/gh/trysurface/scripts@latest/surface_tag.min.js"  
	site-id="YOUR_SITE_ID"
></script>

<!-- End Surface Tag -->
```

<Info>
  Using a verified custom domain? Add `data-custom-domain="forms.example.com"` to the Surface Tag. Follow the [custom-domain setup guide](https://www.withsurface.com/docs/platform/traffic/custom-domains) before publishing the change.
</Info>
