Tags

Unlike slider and interstitial, tags will never be served in a challenge or block page. This type is used to send extra telemetry data to DataDome that will increase trust score of the session (resulting in less blocks). In browser you will see multiple requests to a /jsendpoint, this is where browser sends the tags data. This is how you can generate this data using our SDKS:

payload, err := session.GenerateDataDomeTags(ctx, &hyper.DataDomeTagsInput{
    UserAgent: "", // Your chrome useragent
    Cid: "", // Your current datadome cookie
    Ddk: "", // sitekey, static for each site. parse it from the /js/ payload request from browser
    Referer: "", // The referer visible as the referer header in the payload POST
    Type: "", // First time 'ch', second time 'le'
    Language: "", // The first language of your accept-language header, defaults to "en-US"
    IP: "", // The IP that is used to post the sensor data to the target site. You can use /ip to get the IP from a connection. If you are not using proxies, this will be the IPv4 address of your pc.
})
if err != nil {
// Handle the error
}
// Use the payload to POST to https://geo.captcha-delivery.com/interstitial/

You need to POST this payload to the /jsendpoint same way browser will do it. The endpoint will return a response like this:

{
	"status": 200,
	"cookie": "datadome=L7HH_UaWyA17TZFa7FNKxtIE9cReX~6bpf~E5A5IetWsibg0KwHgedPMPHee40cm4VqY9r3Yr6ZOCuWL17WB71PDE92lXdBIyyl3M2SZyhOl~7rmkK_XxE0O19hB4q0o; Max-Age=31536000; Domain=.vinted.fr; Path=/; Secure; SameSite=Lax"
}

You should update your datadomecookie in your cookiejar manually, with the value returned in the response. Posting tags should be done twice, always retrieving the datadomecookie from the first tags POST request. First with type chand the second time with type le.

Last updated