This module includes the JavaScript tracker and the automatic deployment package.
The following 4 steps should be run to configure the tracker:
- The pipes core module needs to be deployed via Cloudformation
- Run
make deployto deploy and build the JavaScript tracker - In the S3 bucket copy the content of the
tag.min.jsfile - The content of the
tag.min.jsshould be placed inside the<header>or into Google Tag ManagerCustom Html
The following methods can be called to track your application:
// {...} means you can put anything you line inside the object - no fixed schema// tracking of pageviewspipes.page('name',{...})// tracking of screenspipes.screen('name',{...})// tracking of eventspipes.track('name',{...})// user identification// should be called only once when the user logins, signups or registerspipes.identity('userId',{...})// tracking of link clicks pipes.trackLink(linkElement,'name',{...})// tracking of form elementspipes.trackForm(formElement,'name',{...})// deactivation of pipespipes.disable()