Website Pages

Control audience access to pages and blogs

Last updated: November 20, 2019

Applies to:

Marketing Hub  Enterprise

Marketing Hub Enterprise users with publish permissions can control audience access for HubSpot-hosted pages and blogs. You can set a password or require a list of your contacts to register to view your content. Learn how to understand the private content a contact has access to.

Please note:

  • Making a page or blog private does not encrypt its content and shouldn't be used in place of user accounts or to hide sensitive data.
  • Password-protected content won't be crawled by search engines. If you've recently restricted access to content that was previously publicly accessible and indexed, it may take search engines some time to de-index the page, but it will still only be accessible to those who have been granted access.
  • This feature only works with connected subdomains and will not work on the default subdomains that come with your HubSpot account (i.e., hs-sites.com subdomains). If you enable membership access to a page hosted on a default subdomain, registration emails won't be sent to your contacts until after the page is published on a connected subdomain.

If a contact tries to a view content without access, they'll see a message that states they don't have access. The page will includes a link to email an administrator in your HubSpot account, and a link at the top to return to the previous page they were viewing on your website.

access-denied 

Control audience access to pages

You can customize the audience access to a page in the page editor or in the pages dashboard.

  • In your HubSpot account, navigate to your landing pages or website pages.
  • Hover over the page and click Edit.
  • In the page editor, click the Settings tab.
  • In the Control audience access section, select how to customize the page:
    • Public: this is the default setting. This allows anyone to see the page when it's published.
    • Private - Password required: restricts access to the page to visitors with a password. Enter a password that anyone can use to view your content.
    • Private - Registration required: restricts access to the page to only registered contacts in specific lists. Click the dropdown menu and select the checkbox(es) next to the list(s) of contacts that will have access to this content. These contacts receive an automated registration email to create a password to view this page. 

      control-audience-access-editor
  • Click Save or, if you've selected Private - Registration Required, click Save and send email. This action sends a registration email to any contacts who haven't already registered for customized content access.
Please note:
  • Registration emails will only be sent to contacts who have not previously registered for your private content. Once registered, contacts can use the same credentials to view any private content you give them access to in the future.
  • The language of registration emails is set by your account's default language.
  • If contacts don't receive the registration email, advise them to add noreply@domain.com ("domain" being the subdomain your private page is hosted on) to their address book or to whitelist your sending IP addresses. You can then resend the registration email from the contact record.

Contacts will be prompted to register and log in when they visit a restricted page URL. After logging in successfully, HubSpot adds a cookie to the visitor's web browser, and they won't be prompted to log in again.

To control audience access from the pages dashboard:

  • Hover over the page, click the More dropdown menu, then select Control audience access.
  • To control audience access in bulk, select the checkboxes next to the pages to limit access to, then click Control audience access at the top of the table.

    control-audience-access-bulk

For landing pages and website pages, audience access appears in the dashboard below the page name.

  • On the page details screen, a label at the top of the page indicates if the page is private and requires a password or registration. If the page requires registration, click View details to see which lists that have access to the page.

page-details-private-content-registration


Control audience access for your blog

You can set your blog to private and require a list of contacts to register for access.
  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • In the left sidebar menu, navigate to Website > Blog.
  • To choose the blog you want to customize access for, click the Select a blog to modify dropdown menu in the upper left.
  • On the General tab, select the This is a private blog - registration required checkbox.
  • Click the Select Lists dropdown menu to choose the list(s) of contacts who that will have access. This action sends a registration email to any contacts who haven't already registered for customized content access.

control-audience-access-to-blog

  • Click Save to apply your changes. This action sends a registration email to any contacts who haven't already registered for customized content access. The language of this email is set by the default account language.
    Please note:
    • Registration emails will only be sent to contacts who have not previously registered for your private content. Once registered, contacts can use the same credentials to view any private content you give them access to in the future.
    • The language of registration emails is set by your account's default language.
    • If contacts don't receive the registration email, advise them to add noreply@domain.com ("domain" being the subdomain your private page is hosted on) to their address book or to whitelist your sending IP addresses. You can then resend the registration email from the contact record.

Configure your template settings

To direct your contacts to a log in page, add /_hcms/mem/login to the end of your page domain. For example, for content hosted on inbound-marketing.com, the log in page URL would be: http://inbound-marketing.com/_hcms/mem/login

log-in-cms-membership-page

To direct your contacts to a log out page, add /_hcms/mem/logout to the end of your page domain. For example, for content hosted on inbound-marketing.com, the log out page URL would be: http://inbound-marketing.com/_hcms/mem/logout

To customize your Audience access settings:

  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • In the left sidebar menu, navigate to Private Content.
  • Click the Choose a domain to edit dropdown menu to select the domain you want to customize.
  • In the General section, you can customize the following:
    • Company name: the company name that appears on these page templates.
    • Website admin: enter the email address for visitors to contact if they have trouble logging in, logging out, or registering.
  • In the Default destinations after each action settings, select the redirect page after visitors register, log in, or log out. If the visitor clicked a link to see a specific password-protected page, they'll be directed to that page instead.

To review all the interactions your contacts have had with your registration page and private content, you can download an activity log:

  • Click Download activity log

export-private-content-activity-log

  • Click the File format dropdown menu to select a file type.
  • Click Export.

You'll receive a spreadsheet with the email address and contact ID of each contact that engaged with your private content or registration page. The file contains a log of whether each contact successfully completed their registration or logged in to view private content.

/cms-pages-editor/control-audience-access-to-pages?hs_ungate__cos_renderer_combine_all_css_disable=true&hsSkipCache=true