JavaScript Tag

The CrowdPower JavaScript Tag is a web beacon that monitors and records user activity and sends it securely to your CrowdPower project.

circle-exclamation

To initialize the JavaScript tag, paste this code before the closing body tag on your website. You can retrieve your project’s public key in Settingsarrow-up-right.

<cp-root></cp-root>
<script>
  window.cp=window.cp||function(){(cp.q=cp.q||[]).push(arguments)};
  window.cp('init', '<project_public_key>');
</script>
<script async src="https://tag.crowdpower.io/js/app.js"></script>

Once the JavaScript tag is installed, you will be able to send customer data to CrowdPower using the methods outlined in the following pages.

Last updated