Install on any site quickly and easily
Built in light weight Javascript, our software can be installed on just about any website.
Built in light weight Javascript, our software can be installed on just about any website.
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.
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)
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
}
}
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.
Whether you are teaching 10, or 10,000 students, our software can protect your content.
Need to delegate? You can allow managers and course administrators to monitor on your behalf.
Our sofware can connect to Zapier, Automate.io and countless others to automate your workflows.
When a user breaks a rule, our system will instantly notify you by email. We also support Slack, SMS and others.
Need to stop access from a country or region? Or only teach in the EU? Our system can alert based on the students location.
Prevent impersonation and obscurification attempts through the use of VPNs, Tor and Proxy Networks. Our system can detect and notify you, instantly.
Our systems are encrypted at rest and between your course and our servers. This ensures the highest level of privacy and security.
Our system is designed to keep you compliant with GDPR and other data processing regulations.