How to Force Users to Accept Terms of Service (TOS) Before Accessing your Site

This Article Applies to

Have you just introduced a new change in your Terms of Service, Privacy Policy, or you just want to make sure that your users are aware of a new change on your site? Do you want to require from all of your users to confirm that they are aware of the change as soon as they login?

In this article/guide, we’ll give you step-by-step instructions on how to achieve this. In the steps below, we’ll talk about how to require your users to accept your Terms of Service before they can proceed to the content of the site. Please note, this will not prevent users from manually going to another page on your site by typing in a specific URL and essentially bypassing your TOS page. For a more comprehensive solution, you may consider adding a plugin such as WP Terms Popup to your site. We have NOT tested this plugin and cannot provide support, but want to make you aware that such plugins exist.

Here’s a quick overview of what the whole process will look like once finished:

User will log in and it will be redirected to the /tos-check/ page. Then, depending on whether the user has already accepted Terms of Service or not, they will be redirected to either the Terms of Service page (where they can accept the TOS and move to the content of the site) or to their membership homepage (they’ll go to the membership homepage each time they log in after accepting the TOS).


Step 1
First of all, you would need to set a “redirect” parameter in [memb_loginform] shortcode you are using on the login page. In that redirect parameter, you would set a, let’s say /tos-check/ page. We’ll talk about this page in the next step…


[memb_loginform redirect="/tos-check/"]

Please note that this will override all membership level redirections you might have set already in your membership level options. However, on the next page, we will show you how to get them back.


Step 2
In this step, we’ll create /tos-check/ page. This page will be used to check whether the user has already accepted Terms of Service or no. On this page, we’ll put this code:

[memb_has_any_tag tagid=101]
If user has tag id 101, redirect to the membership homepage
[memb_redirect url="/wp-admin/"]
If not, redirect user to the page on which you have new Terms of Service
[memb_redirect url="/terms-of-service/"]

In this code, if the user has tag id 101, it means the user has already accepted Terms of Service and they’ll be redirected to the membership homepage (taking them to /wp-admin/ will redirect them to their membership homepage setup in the membership setting.

If they don’t have the tag, the user will be redirected on /terms-of-service/ page on which we’ll put Terms of Service text, along with the accept button.


Step 3
At this point, we’ll create /terms-of-service/ page from the previous step. On this page, we’ll place your Terms of Service text, and at the bottom, we’ll put [memb_actionset_button] shortcode.

Here’s an example:

*** Terms of Service text here ***

[memb_actionset_button button_text="Accept Terms of Service" redirect_url="/wp-admin/" tag_ids=101]

What the [memb_actionset_button] will do is:
1) it will apply tag id 101 (to indicate the user accepted the TOS)
2) and it will also redirect the user to the /wp-admin/ (their membership homepage) once the user accepts the TOS.

Once that’s done, you can go ahead and create a test user using this documentation article and make sure everything works as you’ve intended. On the top of that (optional), you can also hide your menu items, so that your users can’t see menu items unless they’ve accepted the Terms of Service and this documentation article can help you on that.

Final Notes

You’ll most likely not be using tag ID “101” on your site. That tag ID is just a demo tag ID. You’ll want to create a new tag with a title like “Accepted TOS” or something similar and then use that ID in place of 101 in the examples above.

Lastly, if you ever make a change to your TOS, you can simply remove the tag from everyone in Infusionsoft which will force them to go through the process above again and accept any new changes.

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

Table of Contents

This Article Applies to

Keep Reading

login speed

How to Improve Login Speed on a Memberium Site

When it comes to a course or a membership site, you need to offer a good user experience. If the login process is slow, then it doesn’t make a good impression on your users. That’s why in this article, we’ll go through a few things which can help in improving the login speed of your Memberium based site.

Read More »

Advice On Building a Startup and Improving Customer Retention with Kyle Leavitt [Episode 20]

On today’s episode, Kyle Leavitt will be joining us. We discuss building a startup and what it takes to build one from the ground up. Kyle shares his advice on improving customer retention, increasing customer loyalty and the importance of core values in a business.

Kyle Leavitt is the recent co-founder of LoyalStream. He had also co-founded CustomerHub, which he sold to Infusionsoft, where he became a key leader who helped grow the company from $1M to $100M+ in annual recurring revenue.

Kyle joined Infusionsoft in 2005 then started talking to entrepreneurs every day on the phone and selling Infusionsoft to them. He left Infusionsoft in 2008 and started a software business with his brother and business partner called CustomerHub, which he then sold back to Infusionsoft and joined the product team where he served as Director of Product Management and later VP of Product.

Read More »

Do I Need a Learning Management System?

Memberium comes with built-in integration for three different Learning Management Systems (LMS). Memberium seamlessly ties these systems into your Infusionsoft app for two way communication, access control, and automation. In order to understand whether or not you need an LMS for your site, it’s important to understand what we’re talking about.

Read More »

Want to get some fresh ideas on how you can improve your membership site or course?

Download our free ebook!