What the dashboard needs to decide whether to send a first touch or ask the question.
GET
/account/attribution
const url = 'https://api.siteqwality.com/account/attribution';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/account/attribution \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Signup attribution status
Media type application/json
What the dashboard needs to decide whether to send a first touch or show the question.
object
eligible
required
The caller created the account and the account is at most 14 days old.
boolean
has_first_touch
required
A first touch is already stored, so the client need not send one.
boolean
answered
required
An answer is stored. A skip counts as one.
boolean
Example generated
{ "eligible": true, "has_first_touch": true, "answered": true}Missing or invalid authentication
Internal server error