- First step URL (on the right page) - required
- Segmentation matches (User is the right person) - required but can be to match All Users
- Element appears on the page - optional
- Element must be clicked on or hovered over - optional
- etc.
With the Chameleon API for Tours, you can:
- List all the existing Tours according to the indicated parameters.
- Retrieve a single Tour.
Schema
| Property | Type | Description |
|---|---|---|
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 |
archived_at | timestamp | The time when this was archived |
name | string | The name given by an administrator of Chameleon |
style | string | The delivery method of this Tour: One of auto or manual |
position | number | The order that these appear in lists (starting from 0) |
tour_link_url | string | When style=manual this URL is loaded to start the Tour |
experiment_at | timestamp | When Experimentation was turned on. |
experiment_range | string | The range of Profile#percent that will be included in the experiment |
segment_id | ID | The Chameleon ID of the configured Segment |
published_at | timestamp | The time this was most recently published |
tag_ids | array<ID> | The Chameleon IDs of the Tags attached to this model |
rate_unlimit_at | timestamp | This item is excluded from Rate limiting |
stats | object | Aggregated statistics for this model (all-time) |
stats.started_count | number | Number of your end-users who saw this |
stats.last_started_at | timestamp | Most recent time any user saw this |
stats.completed_count | number | Number of your end-users who completed/finished this |
stats.last_completed_at | timestamp | Most recent time any user completed/finished this |
stats.exited_count | number | Number of your end-users who dismissed/exited this |
stats.last_exited_at | timestamp | Most recent time any user dismissed/exited this |
List Tours
List all the Tours that follow the specified parameters.HTTP Request
| param | - | description |
|---|---|---|
limit | optional | Defaults to 50 with a maximum of 500 |
before | optional | Used when paginating, use directly from the cursor object from the previous response |
before | optional | Read as “created before” and can be given as a timestamp to get only limit items that were created before this time |
after | optional | Read as “created after” and can be given as a timestamp or ID to get only limit items that were created after this time |
HTTP Response
Update a Tour
Update a single Tour to change the Environments or to Publish it.HTTP Request
| param | - | description |
|---|---|---|
id | required | A Tour ID to update |
url_group_id | optional | An Environment ID prefixed with + to add or or - to remove the Environment |
tag_id | optional | A Tag ID prefixed with + to add or or - to remove the Tag |
published_at | optional | The published time of this Tour (set to now to trigger a publish) |
iso8601 format
published_at to null
5e3c4232c712de666d55632a Environment use a + prefix
5e3c4232c712de666d55632a Environment use a - prefix
Filtering by Segment
See Listing Related modelsRetrieve a Tour
Retrieve a single Tour.HTTP Request
| param | - | description |
|---|---|---|
id | required | A Tour ID to lookup |

