website_tracked_events

Create website tracked event

Register a custom event of a site so that it counts: site_sid, the name the site sends (event, matched without letter case, immutable), a label and is_conversion. From then on a session that sends the name carries the fact website_event. A name the site already tracks is 409 duplicate_rejected with the existing sid. A page visit is a key page (create_website_key_page) and a marked form is a fact by itself: neither needs this.

Contract:

  • MCP tool create_website_tracked_event, registry package mcp.signals/website_tracked_events, mount signals.website.
  • Operation create, response envelope create.
  • Flags: none.
post/api/website-tracked-events

Request

  • Base URL
    https://beta.getsales.io/signals/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Request body

site_sidstring required

Website site sid (sg_si_...), the event's site.

eventstring required

The name the site's script sends (trial_started), 1..64 characters of letters, digits, space, _ . : -; matched without letter case; immutable.

labelstring required

What the event is called in the feed (Trial started).

is_conversionboolean

Count it as a conversion. Default false.

Response

create success envelope.

successtrue required
operation'create' required
already_existsboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.