With Userback, you can track users and identify users in your application or website.
The user tracking code is built into the code that you use to display Surveys and feedback widgets on your app or website.
This code typically looks like this:
<script>window.Userback = window.Userback || {};Userback.access_token = 'A-ACCESSCODE';// identify your logged-in users (optional)Userback.user_data = {id: "123456", // example datainfo: {name: "someone", // example dataemail: "someone@example.com" // example data}};(function(d) {var s = d.createElement('script');s.async = true;s.src = 'https://static.userback.io/widget/v1.js';(d.head || d.body).appendChild(s);})(document);</script>By default, the User Data code has example data.
If you don't plan on tracking user data, simply remove this code:
// identify your logged-in users (optional)Userback.user_data = {id: "123456", // example datainfo: {name: "someone", // example dataemail: "someone@example.com" // example data}};Learn more about User Identification: JavaScript SDK and User Identification
