# JavaScript Tag

{% hint style="warning" %}
Variables throughout this documentation are denoted with brackets. For example: '\<name>'. You must provide this information from your application **without** the brackets. For example: 'Peter Gibbons'.
{% endhint %}

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 [Settings](https://app.crowdpower.io/settings).

```javascript
<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.
