Castle Tracking Script
Packaged version of Castle tracking script.
Introduction
The Castle JavaScript automatically captures every user action in your web application, including clicks, taps, swipes, form submissions, and page views. We use this data to build profiles of good user behavior in order to detect the bad.
Minimal Requirements:
ES3+ version supported browsers eg:
- Chrome 5+
- Firefox 3+
- IE 6+
- Safari 4+
- All modern browsers (desktop and mobile)
Installation
npm install --save castle.js
Include the JavaScript
<script type="text/javascript" src='dist/c.js'></script>
<script type="text/javascript">
_castle('setAppId', 'YOUR_CASTLE_APP_ID');
</script>
Be sure to replace YOUR_CASTLE_APP_ID
with your site identifier provided after registration.
Usage
See Castle Docs for more information
Changelog
- 1.7.1 – performance improvements
- 1.7.0 – introduction of a new token version, external dependencies removal
- 1.6.0 – support for multiple versions of tokens
Upgrade Instructions
For a better user experience, we recommend upgrading through version 1.6.0
if your current library version is lower.
Example: If you are currently using the 1.5.1
version, please upgrade to the 1.6.0
version, and then to the latest one.
License
MIT