For Angular Implementation, you will need to install Angular CLI globally on your machine. You can install it, by running it on the terminal:
npm install -g @angular/cli
We assume that you have node.js installed on your computer.
Assuming that you have an Angular App already working, you can implement our Usercentrics Script in the following way:
CMPv3 Implementation
Open
index.htmlin your app directory-
Add the following script to the
<head>tag:<!-- Change 'XXXXXXXX' to your settingsID --> <script id="usercentrics-cmp" src="https://web.cmp.usercentrics.eu/ui/loader.js" data-settings-id="XXXXXXXX" async> </script>
CMPv2 Implementation
Open
index.htmlin your app directory-
Add the following script to the
<head>tag:<!-- Change 'XXXXXXXX' to your settingsID --> <script id="usercentrics-cmp" src="https://web.cmp.usercentrics.eu/ui/loader.js" data-settings-id="XXXXXXXX" async> </script>
Do you need further help?
How can I get help with technical questions?