Skip to content

keentycs Global Variables

UberSnip Developers edited this page Apr 3, 2016 · 1 revision

Global Variables for keenQL

In a nutshell, you can define global variables, or a string of text that will be replaced by another. Variables name and data are separated by the first = character. While it is suggested that you encase variables with some sort of template, it is not required. {$} is a great start. {$variable}

Example Usage:

// vars.keenio file

{$PROJECT_ID}=12345

//In query

count pageview({$PROJECT_ID})

would result in

count pageview(12345)

Clone this wiki locally