---
schema_version: "1"
id: 94d8068b8d7ae68f28785ed9f681c40cc03f8800504ba465d8d81834baecbd7f
title: Use Custom Code with Enhanced Landing Pages
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/pardot_lps_use_custom_code.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.pardot_lps_use_custom_code.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 446aba9ad68f3b20e7495dd3c879137cfc425930828e9c0505e7a37c5a3fdd04
description: To further customize landing pages, you can add custom code, including script, style, comment, noscript, and link tags to the header and footer code. You can also copy, edit, or remove code at any time. The header and footer code blocks are available on the Settings tab of an enhanced landing page record.
products:
  - Marketing
  - Marketing Cloud Account Engagement
release: "264"
---
# Use Custom Code with Enhanced Landing Pages

To further customize landing pages, you can add custom code, including script, style, comment, noscript, and link tags to the header and footer code. You can also copy, edit, or remove code at any time. The header and footer code blocks are available on the Settings tab of an enhanced landing page record.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <span>All Account Engagement Editions</span></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d84569e56">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d84569e56 ">To edit an enhanced landing page:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d84569e56 ">Access Drag-And-Drop Builder</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d84569e56 ">To customize a Lightning record page:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d84569e56 ">Customize Application</td>

          </tr>
        </tbody>
      </table>

1. From an enhanced landing page, navigate to the Settings tab.
2. For the Header Code or Footer Code block, click **Add**.
    
    To change existing code in these blocks, click **Edit**.
3. Enter the code that you want to include, and then save.
    
    Header and Footer code blocks support script, style, link, noscript, and comment tags such as `<!-–hidden text-->`.
4. Review and resolve any errors.
5. To publish the landing page, click **Publish**.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-pardot-264-0-0-production-enus/5fef4d4f-9a34-45c6-8cd3-e3200b9eeba8/images/icon_note.png)

Note If you can’t find the Settings tab, an admin can add the Header Code and Footer Code fields using the Lightning App Builder. To add the fields, open a Landing Page Lightning record page, create a tab and name it Settings. Then, drag in the Landing Pages - Header & Footer component. Save the page and activate it for users.