1. Install where users are logged in

Our software is designed to track logged-in users, therefore the Javascript should only be placed in 'logged in' areas of your site. We recommend placing our code in the header or footer of your site, and only called when the DOM is fully loaded.

Inbox user interface

2. You will need the user's name and email

The user's name and email must be passed to our software for tracking. Additionally, we recommend passing a HMAC-SHA256 of their email, hashed with your App Secret, to verify their authenticity. (See example below)

Customer profile user interface

Example in PHP / WordPress

Below is an example of an implementation on WordPress, written in PHP. A similar approach can be used in Laravel, or any software of your choice. Please note the App ID, name and email are mandatory fields, and HMAC-SHA256 is highly recommended.

                        
                            /**
* Add this code to functions.php
* Note: This code is for example purposes only, you may need to modify it to work with your site.
*/

add_action('wp_footer', 'add_protect_my_courses_footer_code');

function add_protect_my_courses_footer_code() {

if ( is_user_logged_in() ) {

$user = wp_get_current_user();

?>
<script>

    window.dsSettings = {
        appId: 'REPLACE WITH YOUR APP ID',
        name: '<?php echo "{$user->first_name} {$user->last_name}"; ?>',
        email: '<?php echo $user->user_email; ?>',
        hmac: '<?php echo hash_hmac("sha256", $user->user_email, "REPLACE WITH YOUR SECRET"); ?>'
    };
    !function(){var t=window,e=document,a=function(){var t=e.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://www.protectmycourses.com/js/ds.js";var a=e.getElementsByTagName("script")[0];a.parentNode.insertBefore(t,a)};"complete"===document.readyState?a():t.attachEvent?t.attachEvent("onload",a):t.addEventListener("load",a,!1)}();
</script>
<?php

}

}


                        
                    

Created by course creators, for course creators.

Our software was designed from the ground up to be easy to use and deliver value from the moment of installation. No complex set up or dashboards.

Unlimited Students

Whether you are teaching 10, or 10,000 students, our software can protect your content.

Manage Team Members

Need to delegate? You can allow managers and course administrators to monitor on your behalf.

Automatic Deletion

Our sofware can connect to Zapier, Automate.io and countless others to automate your workflows.

Instant Notifications

When a user breaks a rule, our system will instantly notify you by email. We also support Slack, SMS and others.

Location Based Alerts

Need to stop access from a country or region? Or only teach in the EU? Our system can alert based on the students location.

Block VPNs, Proxies & Tor

Prevent impersonation and obscurification attempts through the use of VPNs, Tor and Proxy Networks. Our system can detect and notify you, instantly.

Encryption Built In

Our systems are encrypted at rest and between your course and our servers. This ensures the highest level of privacy and security.

Compliance First

Our system is designed to keep you compliant with GDPR and other data processing regulations.

Frequently asked questions

How does ProtectMyCourses.com work?
ProtectMyCourses.com monitors students as they sign up and navigate your online school. When a student is deemed suspicious, we let you know instantly!
Do I need a developer? Or coding skills?
Installation is simple and takes 60 seconds. No complex code or developers needed.
Do you offer a trial of your software? Can I try it for free?
We offer a fully featured, no obligation 30 day trial. If for any reason you are not happy with our software during your trial period, you can cancel your subscription and get full refund.
Are your GDPR compliant?
Yes, we are 100% GDPR compliant. We do not sell, monitor or analyse your student data.
Do you charge per student or course?
Our pricing plans are based on the number of students in your account. For detailed pricing information, click here.
How can you stop piracy of my content?
Our system monitors your students and if someone is acting suspiciously, like sharing their login or using a fake email, we let you know immediately. If you prefer, our system can be set up to automatically block or delete their account.

Ready to protect your courses? Start your 30 day no-obligation trial today.