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
Available in: All Account
Engagement Editions
User Permissions Needed
To edit an enhanced landing page:
Access Drag-And-Drop Builder
To customize a Lightning record page:
Customize Application
From an enhanced landing page, navigate to the Settings tab.
For the Header Code or Footer Code block, click Add.
To change existing code in these blocks, click Edit.
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-->.
Review and resolve any errors.
To publish the landing page, click Publish.
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.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.