Landing Pages

Require member registration to access private content

Last updated: May 29, 2020

Applies to:

Service Hub  Professional, Enterprise
CMS Hub  Enterprise

Users with publish permissions can control which contacts can access specific HubSpot-hosted pages, blogs and knowledge base articles. You can invite contacts from specific HubSpot lists to register with a password to view specific content. Password-protected content won't be crawled by search engines, and can only be viewed by contacts who are registered and logged in.

Please note: 

  • Making a page, blog, or article private does not encrypt its content and shouldn't be used in place of user accounts or to hide sensitive data.
  • This feature only works for a connected subdomain that you own. Membership access won’t be activated for content published on the default subdomain in your HubSpot account (e.g.,hs-sites.com).

  • Passwords aren’t accessible from the UI, so it isn't possible for a user to look up a contact’s membership login password. 

  • The passwords are secure; they are stored in HubSpot's servers according to the latest industry recommendations and standards. 

Set up membership registration for pages

CMS Hub Enterprise accounts can set up membership for landing pages and websites pages. When you make a page private with registration required, a registration email is sent to contacts who are members of the selected lists so they can set up a password. As new contacts are added to these lists in the future, they'll also receive an email to complete their password registration. The language of this email is set by your default account language. There is a two minute delay after setting your content to private access only before registration emails are sent out.

Please note: contacts who have already set up a password to view other private content on your domain won't receive additional emails. They'll use their existing password to log in and view the private content they have access to on your site, based on their list memberships. 

  • In your HubSpot account, navigate to Marketing Website Landing Pages or Website Pages.
  • Hover over the page and click Edit.
  • In the page editor, click the Settings tab.
  • Click Advanced Options to expand additional settings.
  • In the Control audience access for a page section, select Private - Registration required.
  • Click the dropdown menu and select the checkboxes next to the lists of contacts you want to register for access to this page.

    control-audience-access-editor
  • Click Save and send email.

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 so they won't be prompted to log in again. If desired, you can send contacts a direct link to log out of private content access on your domain.

To set up membership registration for a page from the pages dashboard:

  • Hover over the page and 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


Set up membership registration for your blog

CMS Hub Enterprise accounts can set up membership for blogs. The settings for your blog posts are managed within your account settings. To set up membership registration for private blog content, you must set all of the posts on your blog to private.

Making your blog's content private sends a registration email to any contacts who haven't already registered for customized content access. The language of this email is set by your default account language. There is a two minute delay after setting your content to private access only before registration emails are sent out.

  • 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 private content access.

control-audience-access-to-blog

  • Click Save to apply your changes.

Set up membership registration for your knowledge base

Service Hub Professional and Enterprise accounts can set up membership for knowledge base articles. When you make a knowledge base article private with registration required, a registration email is sent to contacts who are members of the selected lists so they can set up a password. As contacts are added to these lists in the future, they'll also receive an email to complete their password registration. The language of this email is set by your default account language. There is a two minute delay after setting your content to private access only before registration emails are sent out.

Please note: contacts who have already set up a password to view other private content on your domain won't receive additional emails. They'll use their existing password to log in and view the private content they have access to on your site, based on their list memberships. 

  • In your HubSpot account, navigate to Service > Knowledge Base.
  • Click the Articles tab and hover over the article and click Edit.
  • In the editor, click the Settings tab.
  • In the Control audience access section, select Private - Registration required.
  • Click the dropdown menu and select the checkboxes next to the lists of contacts you want to register for access to this article.
knowledge-article-audience-access
  • Click Update in the upper right.

Contacts will be prompted to register and log in when they visit a restricted article URL. After logging in successfully, HubSpot adds a cookie to the visitor's web browser so they won't be prompted to log in again. If desired, you can send contacts a direct link to log out of private content access on your domain.

To control audience access from the articles dashboard:

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

    knowledge-article-control-access-bulk

The audience access appears in the dashboard below the article name.

  • In your HubSpot account, navigate to Service > Knowledge Base.
  • Click the Articles tab.
  • Click the name of a article to view further details on its access restrictions.

knowledge-article-restricted

  • 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. 

Customize settings and templates

CMS Hub Enterprise accounts can customize settings and templates for private content. Customize the general settings for your default private content membership pages and emails. If desired, you can also create custom templates for your registration email and registration pages.

Customize general settings for private content

  • 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 your private content is hosted on.

General settings

In the General section, you can customize the following:
  • Company name: the company name that appears on registration page templates.
  • Website admin: the email address your visitors will contact if they have trouble logging in, logging out, or registering. Learn more about troubleshooting membership registration.

Default destinations after each action

You can direct contacts to a specific page on your site after they complete specific actions.

  • Click the dropdown menus to select the redirect page visitors see in the following situations:
    • After someone registers: a page on your website where contacts will be redirected after they register.
    • After someone signs in: a page on your website someone will view if they log in to view private content on your domain, but they 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: a page on your website where contacts 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 now signed out.

Customize your membership registration page and email templates

Your private content will have simple default registration pages and emails that feature your company's name and logo. These templates reference the logo, company name, and Website admin set in your Private Content general settings by default.

Customize email templates

You can create new membership registration emails and password confirmation emails using the Create link in your Private Content settings. After saving the new emails, you'll be able to select them in your Private Content 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.
  • Click the Templates tab.
  • In the Registration section, you can customize the following email templates:
    • Registration email: the email sent to contacts who have been invited to access private content.
    • Password saved 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.
  • Next to the email you want to customize, click Create.
  • Create a new email to save for automation. You can select in the custom email template or a drag and drop email template instead.
  • After you save your new registration email for automation, navigate back to your Private Content settings.
  • Click the Registration email dropdown menu, and select the new email you just created.

Customize your membership registration page templates

Please note: only CMS Hub Enterprise accounts can customize registration page templates.

You can use the default simple templates for your membership registration page and access denied page. To customize these page templates, you'll need to work with a developer to design a new HTML/HubL template in the design manager tool. Your designer must select the corresponding template type for this new custom 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 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.
  • Click the Templates tab.
  • In the Registration section, you can 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.

edit-registration-page-templates

Troubleshoot membership registration for private content

Review the private content a contact has access to

To check what private content a contact can access, review the details on their contact record.

  • In your HubSpot account, navigate to Contacts > Contacts.
  • Click the name of a contact.
  • In the left panel, List membership and access to private content section, click Manage list memberships to see which lists the contact is a member of, and how many private pages they have access to.
  • Hover over a list and click Details.
  • In the right panel, click Audience access to see the names of the private page(s) that the contacts in the list has access to.

lists-audience-access

Resend the registration email to a specific contact

If a contact didn't receive your 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:

  • In your HubSpot account, navigate to Contacts > Contacts.
  • Click the name of the contact.
  • In the List membership and access to private content section on the right, click Manage List memberships.
  • In the upper right click the Manage registration dropdown menu.
    • If your contact didn't receive the original email, select Resend registration email to resend the registration email.
    • If your contact has already registered, but forgot their login password, select Reset password to send a password reset email to the contact. Contacts can click Forgot your password? on the login page to reset their password themselves.

reset-password-or-resend-email

Contact properties about private content registration

There are a few contact properties that will update for contacts that are invited to register to view private content. There's also a Membership notes property that can be updated manually or with a workflow.

  • Domain to which registration email was sent: the domain to which the registration invitation email for content membership was sent to.
  • Email confirmed: the confirmation from the contact.
  • Membership notes: the notes relating to the contact's content membership.
  • Registered at: the date and time at which the contact set up his content membership.
  • Status: the status of the contact's content membership.
  • Time registration email was sent: the date and time when the registration email was sent to the contact.

Send contacts a direct link to your registration page

To send your contacts a direct link to the log in page for private content, 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

Export all membership registration activity from your account

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?_ga=2.52958763.2050232983.1584021776-170370633.1584021776