Track Result Click
curl --request POST \
--url https://api.cludo.com/api/v3/{customerId}/{engineId}/search/pushstat/clicklog \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"sw": "<string>",
"qid": "<string>",
"clurl": "<string>",
"cli": "<string>",
"title": "<string>",
"sz": "<string>",
"ua": "<string>",
"refurl": "<string>",
"refpt": "<string>",
"brl": "<string>",
"pn": "<string>",
"hn": "<string>",
"sid": "<string>",
"qsid": "<string>",
"cloi": "<string>"
}
'import requests
url = "https://api.cludo.com/api/v3/{customerId}/{engineId}/search/pushstat/clicklog"
payload = {
"sw": "<string>",
"qid": "<string>",
"clurl": "<string>",
"cli": "<string>",
"title": "<string>",
"sz": "<string>",
"ua": "<string>",
"refurl": "<string>",
"refpt": "<string>",
"brl": "<string>",
"pn": "<string>",
"hn": "<string>",
"sid": "<string>",
"qsid": "<string>",
"cloi": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sw: '<string>',
qid: '<string>',
clurl: '<string>',
cli: '<string>',
title: '<string>',
sz: '<string>',
ua: '<string>',
refurl: '<string>',
refpt: '<string>',
brl: '<string>',
pn: '<string>',
hn: '<string>',
sid: '<string>',
qsid: '<string>',
cloi: '<string>'
})
};
fetch('https://api.cludo.com/api/v3/{customerId}/{engineId}/search/pushstat/clicklog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sw: '<string>',
qid: '<string>',
clurl: '<string>',
cli: '<string>',
title: '<string>',
sz: '<string>',
ua: '<string>',
refurl: '<string>',
refpt: '<string>',
brl: '<string>',
pn: '<string>',
hn: '<string>',
sid: '<string>',
qsid: '<string>',
cloi: '<string>'
})
};
fetch('https://api.cludo.com/api/v3/{customerId}/{engineId}/search/pushstat/clicklog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}{
"message": "The request could not be processed. Check the request body and required parameters."
}{
"Message": "Mismatch between SiteId <ID> and CustomerId <ID>"
}{
"status": "InternalServerError",
"code": 500,
"messages": [
"Error occur. Please contact support with error ID: <error-id>"
]
}Tracking
Track Result Click
Record when a user clicks a search result.
POST
/
api
/
v3
/
{customerId}
/
{engineId}
/
search
/
pushstat
/
clicklog
Track Result Click
curl --request POST \
--url https://api.cludo.com/api/v3/{customerId}/{engineId}/search/pushstat/clicklog \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"sw": "<string>",
"qid": "<string>",
"clurl": "<string>",
"cli": "<string>",
"title": "<string>",
"sz": "<string>",
"ua": "<string>",
"refurl": "<string>",
"refpt": "<string>",
"brl": "<string>",
"pn": "<string>",
"hn": "<string>",
"sid": "<string>",
"qsid": "<string>",
"cloi": "<string>"
}
'import requests
url = "https://api.cludo.com/api/v3/{customerId}/{engineId}/search/pushstat/clicklog"
payload = {
"sw": "<string>",
"qid": "<string>",
"clurl": "<string>",
"cli": "<string>",
"title": "<string>",
"sz": "<string>",
"ua": "<string>",
"refurl": "<string>",
"refpt": "<string>",
"brl": "<string>",
"pn": "<string>",
"hn": "<string>",
"sid": "<string>",
"qsid": "<string>",
"cloi": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sw: '<string>',
qid: '<string>',
clurl: '<string>',
cli: '<string>',
title: '<string>',
sz: '<string>',
ua: '<string>',
refurl: '<string>',
refpt: '<string>',
brl: '<string>',
pn: '<string>',
hn: '<string>',
sid: '<string>',
qsid: '<string>',
cloi: '<string>'
})
};
fetch('https://api.cludo.com/api/v3/{customerId}/{engineId}/search/pushstat/clicklog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sw: '<string>',
qid: '<string>',
clurl: '<string>',
cli: '<string>',
title: '<string>',
sz: '<string>',
ua: '<string>',
refurl: '<string>',
refpt: '<string>',
brl: '<string>',
pn: '<string>',
hn: '<string>',
sid: '<string>',
qsid: '<string>',
cloi: '<string>'
})
};
fetch('https://api.cludo.com/api/v3/{customerId}/{engineId}/search/pushstat/clicklog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}{
"message": "The request could not be processed. Check the request body and required parameters."
}{
"Message": "Mismatch between SiteId <ID> and CustomerId <ID>"
}{
"status": "InternalServerError",
"code": 500,
"messages": [
"Error occur. Please contact support with error ID: <error-id>"
]
}Authorizations
SiteKeyBasicAuth
Path Parameters
Body
application/json
Definition of the log source. Use 'searchresult' for regular clicks and 'banner' for banner clicks.
Was this page helpful?

