Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

castle.js

1.0.13 • Public • Published

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

  • Chrome 4
  • Edge 12
  • Firefox 3.5+
  • IE 8+ (must be in standards mode), IE 9 (by default)
  • Safari 4 (iOS Safari 4.1)
  • Opera 11.5
  • All other browsers are supported for all versions

Installation

npm/yarn install 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

License

MIT

This software includes code from PluginDetect, www.pinlady.net/PluginDetect/license

Keywords

none

install

npm i castle.js

Downloadsweekly downloads

108

version

1.0.13

license

MIT

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability