Description Usage Arguments Value Author(s) See Also Examples
This function attempts to add a new variable to variable set configured in Causata.
1 2 3 | Config.CreatePrimaryVariable(causata.config, variable.name,
variable.display.name=variable.name,
variable.expression)
|
causata.config |
An object from |
variable.name |
The internal system-name of the variable to create. |
variable.display.name |
The user-visible name of the variable to create. |
variable.expression |
The variable expression that defines the variable. |
TRUE if the variable definition succeeded. Otherwise, the response from the server (including error messages) is returned.
David Barker <support@causata.com>
1 2 3 4 5 6 7 8 9 10 | # The settings below are not for an actual server,
# they are for illustration purposes only.
causata.config <- CausataConfig("server.causata.com","8002",
"causatauser","Bg20qydd6*")
# the command below is commented out since it requires a live server to run
#result <- Config.CreatePrimaryVariable(causata.config,
# variable.name="online-has-page-view",
# variable.display.name="Online: Has Page View",
# variable.expression="INCLUDES page-view")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.