# Add YouTube Video to Landing Page

**GoAffPro** provides you with the option to add a YouTube video to the landing page of the affiliate portal.

To add a YouTube video to the landing page, go to the **Landing Page** section in the **Look and Feel** tab of the GoAffPro admin panel.&#x20;

<figure><img src="/files/ZDwjoAUcuuUZMiTY6aD2" alt=""><figcaption><p>Look and Feel > Landing Page</p></figcaption></figure>

Here, click on **Add Custom HTML**.

<figure><img src="/files/OIGnfuQG2w54TuaDAfCB" alt=""><figcaption><p>Click on Add Custom HTML</p></figcaption></figure>

Now, copy the following code and paste it into the custom HTML section:

```html
<div style="
    padding-top: 25px;
    display: flex;
    justify-content: center;">
    <!--Paste YouTube embed code here-->
</div>
```

<figure><img src="/files/5pV0jnLvLh3DbzSvokg3" alt=""><figcaption><p>Copy and paste the code</p></figcaption></figure>

Next, go to the YouTube video page and click on **Share**.&#x20;

<figure><img src="/files/b2CgBXmjVPFVQyuqHI8a" alt=""><figcaption><p>YouTube video > Click on Share</p></figcaption></figure>

Here, click on **Embed**.

<figure><img src="/files/rjwZfPLevz7Lc0SLNR17" alt=""><figcaption><p>Click on Embed</p></figcaption></figure>

Now, click on **Copy**.

<figure><img src="/files/FNaljS4WZ6Fm9BR811zU" alt=""><figcaption><p>Click on Copy</p></figcaption></figure>

After this, paste the YouTube embed code in the custom HTML section in the place of: \
`<!--Paste YouTube embed code here-->`

<figure><img src="/files/ozXZ1ZtvScYbNAVpxE4O" alt=""><figcaption><p>Paste the YouTube embed code</p></figcaption></figure>

Finally, click on **Save**.&#x20;

{% hint style="info" %}
Make sure to toggle the section to **Show**.
{% endhint %}

<figure><img src="/files/srIbiFpVbFNFwbSEZZTt" alt=""><figcaption><p>Click on Save</p></figcaption></figure>

The YouTube video will be displayed on the landing page of the affiliate portal.

<figure><img src="/files/pr8Pk4Mzp0yKD7bh95jS" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/EGP4s8k1uEU>" %}
Add YouTube Video to Landing Page
{% endembed %}


---

# 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.goaffpro.com/affiliate-portal-customization/advanced-customization/add-youtube-video-to-landing-page.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.
