createClick
Record a click event from an external source by specifying the user ID, click type, name, origin URL, and target URL.
Instructions
Create a click record - Create a new click record. Writes live data.
Use when: replicating a click event from an external source (e.g., tracking clicks on a mirrored profile page on another domain). Usually not needed - BD auto-records clicks on its own surfaces.
Required: user_id, click_type, click_name, click_from, click_url.
Parameter interactions:
user_id- the member profile being trackedclick_type-link(external),phone(reveal), oremail(reveal)click_from- source surface:profile_pageorsearch_resultsclick_url- the URL that was clicked
See also: updateClick (modify existing).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| click_type | Yes | Free-form label for the click target. NOT an enum — BD doesn't normalize and site owners create custom labels via click-tracking widgets. Common BD-canonical values (mixed casing intentional, BD does NOT normalize): `View Post`, `Profile`, `Phone Number`, `website`, `Facebook`, `Contact Form`, `Search Results`, `booking_link`, `Instagram`, `Post Link`, `LinkedIn`, `YouTube`, `Blog`, `Twitter`, `Google`, `Pinterest`. Reuse the exact casing of the value you're tracking against — `Profile` and `profile` produce two distinct rows in analytics. | |
| click_name | Yes | ||
| click_from | Yes | Full URL of the page where the click originated (HTTP referer). Free-form URL string; empty allowed when no referer header is present (e.g. direct hits, bot traffic). NOT an enum. | |
| click_url | Yes |