Beacon.create | R Documentation |
Add a new beacon to an existing beacon set. The beacon set must already exist in order to add beacons.
Beacon.create(beacon_set_id, vault_object_id, title, env = .solveEnv, ...)
beacon_set_id |
The ID of the parent beacon set. |
vault_object_id |
The ID of the vault object (i.e. dataset) queried by the beacon. |
title |
The title displayed for the beacon. |
env |
(optional) Custom client environment. |
... |
(optional) Additional beacon attributes (such as description and params). |
## Not run:
Beacon.create(
beacon_set_id="1234",
vault_object_id="1234567890",
title="My new beacon"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.