id | ID | The Chameleon ID |
created_at | timestamp | When this happened or when this was added to the Database |
updated_at | timestamp | The last time any property was updated |
text | string | The call to action text for this button |
position | string | The placement of this button: One of bottom_left, bottom_center, bottom_right, center_right, or center_left |
tour_action | string | What does this Tour do when clicked: One of next, previous, or exit |
additional_actions | array<string> | What else does this Button do when clicked: One of cta, cta_url, any_click, code, element_click, hero_button, tour, survey, exit, tag_user, property, helpbar, automation, demo |
action_url | string | When additional_action includes cta_url this is the URL to load (action_new_window=tue opens this URL in a new _blank tab) |
action_new_window | boolean | Should the action_url open in a new tab |
action_script | string | When additional_actions=code this is the JavaScript code snippet to evaluate |
action_element | object | When additional_actions includes element_click this is the element targeted for clicking |
action_campaign_id | ID | When additional_actions includes {tour,survey} uses this attribute to determine which Tour or Microsurvey to link to |