Get VWO SmartCode
vwo_get_smartcodeRetrieve the VWO SmartCode tracking snippet for a workspace to install or verify campaign tracking JavaScript.
Instructions
Get the VWO SmartCode tracking snippet for a workspace — the JavaScript that must be installed on the site for campaigns to run. Use this when helping someone verify or install tracking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Numeric VWO workspace (account) id to operate on. Required unless the server has a default workspace configured. If the user referred to a workspace by name, either pass workspaceName instead or call vwo_list_workspaces to look up the id — never guess an id. | |
| workspaceName | No | Workspace name to resolve to an id, as an alternative to accountId. Must match exactly one visible workspace, otherwise an error lists the candidates. |