Register conversion

POST /accounts/{account_id}/clicks/conversion

Registers a conversion in ClickGUARD for the given click.

Available on: AuditGUARD AlertGUARD PremiumGUARD EliteGUARD

Path parameters

Body Required

Conversion data

  • gclid string Required

    Google Click ID

  • comment string | null

    Conversion comment

  • value number | null

    Conversion value

Responses

  • Successful operation

    Hide response attribute Show response attribute object
    • message string

      Simple message describing the action taken

POST /accounts/{account_id}/clicks/conversion
curl \
 -X POST https://api.clickguard.com/accounts/{account_id}/clicks/conversion \
 -H "X-API-KEY: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '"{\n  \"gclid\": \"Cj0KCQjw1PSDBhDbARIsAPeTqrerWB...ekt7et0ktYV8aArAPEALw_wcB\",\n  \"comment\": \"Subscription\",\n  \"value\": 49\n}"'
Request example
"{\n  \"gclid\": \"Cj0KCQjw1PSDBhDbARIsAPeTqrerWB...ekt7et0ktYV8aArAPEALw_wcB\",\n  \"comment\": \"Subscription\",\n  \"value\": 49\n}"
Request examples
{
  "gclid": "string",
  "comment": "string",
  "value": 42.0
}
Response examples (200)
"{\n  \"message\": \"Operation successful\"\n}"
Response examples (200)
{
  "message": "string"
}