# HubSpot Tokens

{% hint style="warning" %}
HubSpot requires specific tokens in the footer of all emails to include your company’s name, address, city, state, and an unsubscribe link.
{% endhint %}

**These are the required tokens:**

```
{{ site_settings.company_street_address_1 }}
{{ site_settings.company_state }}
{{ site_settings.company_name }}
{{ site_settings.company_city }}
{{ unsubscribe_link }}
```

Ensure these tokens are added to both the **HTML** and **TEXT** versions of your FeedOtter template. Publishing to HubSpot will work without them, but HubSpot will throw a number of warnings that can be avoided.

As a reminder, you can locate the HTML and Text versions within the Edit view of your campaign:&#x20;

<figure><img src="https://2086102864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIdHBGk8cqznUpEqm5g1U%2Fuploads%2FrYuMq7etrPoAdhGDNGFF%2Fimage.png?alt=media&#x26;token=386b399d-3cac-4861-836d-6e3f48ad9018" alt=""><figcaption></figcaption></figure>

Scroll to the **bottom of the HTML email template** and scan for the footer address fields. These will be FeedOtter tokens which we will replace with the above block of HubSpot tokens.

Again, <mark style="color:red;">remove:</mark>

\[\[ feedotter.company\_name ? feedotter.company\_name : '' ]] AND \[\[feedotter.company\_name]] with *{{ site\_settings.company\_name }}*\
\[\[ feedotter.company\_address ? feedotter.company\_address\~' ' : '' ]] with *{{ site\_settings.company\_street\_address\_1 }}*\
\[\[ feedotter.company\_city ? feedotter.company\_city\~',' : '' ]] with *{{ site\_settings.company\_city }}*\
\[\[ feedotter.company\_state ? feedotter.company\_state\~',' : '' ]] with *{{ site\_settings.company\_state }}*\
\[\[ feedotter.unsubscribe\_link ]] with *{{ unsubscribe\_link }}*

<mark style="color:red;">Replace with:</mark>

{{ site\_settings.company\_street\_address\_1 }}\
{{ site\_settings.company\_state }}\
{{ site\_settings.company\_name }}\
{{ site\_settings.company\_city }}\
{{ unsubscribe\_link }}

Click **Save.**

<figure><img src="https://www.feedotter.com/wp-content/uploads/2022/03/FO-email-with-HS-tokens.png" alt=""><figcaption></figcaption></figure>

### Alternative way to apply using the visual editor: <a href="#headline-169-26466" id="headline-169-26466"></a>

To update your HTML email template navigate to the **Customize tab in your FeedOtter campaign and use the Visual or Code editor to place the above tokens in the desired footer area of your email.**

<div align="left"><figure><img src="https://2086102864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIdHBGk8cqznUpEqm5g1U%2Fuploads%2FL3gC0Hz8mCuCxViEAI2S%2Fimage.png?alt=media&#x26;token=fa72efcb-5b96-40b8-ae7c-fbaa4b889ad6" alt=""><figcaption></figcaption></figure></div>

**To update the TEXT version of your template navigate to Customize > Code and select "text" from the dropdown indicated below. Paste in the HubSpot tokens as shown below.**

<div align="left"><figure><img src="https://2086102864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIdHBGk8cqznUpEqm5g1U%2Fuploads%2FosBjs9ucyFhOcc7o2u0d%2Fimage.png?alt=media&#x26;token=4459fb7c-9eb2-4b23-955d-9d7b895c3c3f" alt=""><figcaption></figcaption></figure></div>

Apply your changes, and your next HubSpot publish will be ready to send!
