Skip to content

Manage settings for private content

Last updated: May 31, 2024

Available with any of the following subscriptions, except where noted:

Service Hub   Professional , Enterprise
Content Hub   Professional , Enterprise

 

With memberships, you can manage which visitors can access your private blog, page, knowledge base, and customer portal content. Learn more about setting up memberships and troubleshooting private content

In your private content settings, you can customize the templates used for private content emails and pages. You can also set up idle session timeouts to log contacts out of private content after a certain period of time. 

Edit general settings for private content

  • In your HubSpot account, click the settings settings icon in the top navigation bar.
  • In the left sidebar menu, navigate to Content > Private Content.
  • Click the Choose a domain to edit dropdown menu and select the domain your private content is hosted on.
  • In the Contact Information section, enter a company name. This will appear on registration page templates.
  • In the Website admin text field, enter the email address of the user that visitors will contact if they have trouble logging in, logging out, or registering. If this field is left blank, the email address of an active super admin in the account will be used. 
  • To allow contacts to register for private content themselves, select the Allow self-registration checkbox in the Single sign-on (SSO) section. You may be prompted to set the language and wording of a Consent to process data field. 
  • To show contacts an option to send themselves an email link instead of using a password, select the Turn on password-less authentication checkbox in the Password-less authentication section. The link in this email will expire after fifteen minutes. 

Set up idle session timeouts

For enhanced security, you can automatically log out users who access your private content or customer portal after 20 minutes, 40 minutes, 60 minutes, or 24 hours of inactivity. HubSpot users must have the Website settings permission to turn on idle session timeouts. 

  • In your HubSpot account, click the settings settings icon in the top navigation bar.
  • In the left sidebar menu, navigate to Content > Private Content.
  • Click the Choose a domain to edit dropdown menu and select a domain. The idle session timeout setting must be set individually for each connected domain. 
  • In the Idle session timeout section, select the Automatically sign out inactive users checkbox. 
  • Click the Sign out users after dropdown menu and select a time period
  • In the bottom left, click Save

Customize registration email templates

By default, your private content will have simple registration emails with the company name and logo set on the Basics tab of your private content settings. You can also create custom emails:

  • In your HubSpot account, click the settings settings icon in the top navigation bar.
  • In the left sidebar menu, navigate to Content > Private Content.
  • Click the Choose a domain to edit dropdown menu and select a domain.
  • Click the Emails tab.
  • You can edit the templates for the following emails:
    • Registration invitation email: the email sent to visitors who have been invited to access private content.
    • Password confirmation email: the email sent to visitors to confirm their new password was saved during registration or a password was reset.
    • Password reset email: the email sent to visitors when they reset their passwords.
  • Under the email you want to customize, click the Actions dropdown menu, then select Create.
  • Create a new email with the email editor.
  • After you've published your email, navigate to your private content settings.
  • Click a dropdown menu and select your new email.

registration-email-templates

Customize membership registration page templates

All accounts include simple templates for membership registration pages. To customize these page templates, developers will need to create a new HTML/HubL template in the design manager.

Developers can also allow visitors to log in using their social media credentials. Learn more in HubSpot’s developer documentation.

Please note: developers must select the corresponding template type when creating the new HTML/HubL template in the design manager for the template to appear in your private content settings.

customize-private-content-page-templates

To select a new custom HTML template for your private content pages:

  • In your HubSpot account, click the settings settings icon in the top navigation bar.
  • In the left sidebar menu, navigate to Content > Private Content.
  • Click the Choose a domain to edit dropdown menu and select a domain.
  • Navigate to the Pages tab.
  • You can use the dropdown menus to select a custom HTML template for the following page types:
    • Registration page: the page where invited contacts can sign up to access private content.
    • Access denied page: the page that visitors will see instead if they haven't been given access to private content.
    • Sign in page: the page where visitors sign in to access private content.
    • Sign out page: the page visitors see after they sign out.
    • Request password reset page: the page a visitor will see when they request a password reset.
    • Create new password page: the page where visitors will create a new password.

sign-in-and-out-of-private-content

  • In the Destinations section, you can direct contacts to a specific page on your site after they complete specific actions: 
    • After someone registers: the page where visitors will be redirected after they register. 
    • After someone signs in: the page visitors will view if they log in, but haven't clicked a link for a specific private page. If the visitor is signing in to view a specific password-protected page, they'll be directed to that private page instead.
    • After someone signs out the page where visitors will be redirected after they sign out. If you don't select a page from your website, contacts will see a simple default page that tells them they're signed out. 
Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.