-
Just like the mail merge in your favorite document editor, you can add variables to any node in the title, content, question or button text, and pass in values to replace those variables.
For example, a software company wants to pass in the latest version number into their troubleshooter tree, without having to change the tree each time the version number changes. Mission accomplished by inserting variables into the tree by adding a couple of parameters to the URL.
Here's a quick primer on adding merge variables:
- Edit a node, and insert text like "#NAME#", "#VERSION#' anywhere into the node where you want to substitute a variable.
- Pass the name of the variables, and their corresponding values, into the URL for hosting or deploying your tree.
Recommended method: Prefix any variable names with zv_ to pass in values. So to pass along NAME and VERSION variables, you would add this to the URL:
&zv_NAME=Joe+Smith&zv_VERSION=54.0
Deprecated but still working: You can separate the variables with a | character. Just add a string like this to the end of the Zingtree hosted URL or within the embed code:&variables=NAME|VERSION&values=Joe+Smith|54.0
More information:
- You can learn more about passing variables from the Publishing Links page for any tree.
- Try the Merge Variables Demo to see a live example.
-
Just like the mail merge in your favorite document editor, you can add variables to any node in the title, content, question or button text, and pass in values to replace those variables.
For example, a software company wants to pass in the latest version number into their troubleshooter tree, without having to change the tree each time the version number changes. Mission accomplished by inserting variables into the tree by adding a couple of parameters to the URL.
Here's a quick primer on adding merge variables:
- Edit a node, and insert text like "#NAME#", "#VERSION#' anywhere into the node where you want to substitute a variable.
- Pass the name of the variables, and their corresponding values, into the URL for hosting or deploying your tree.
Recommended method: Prefix any variable names with zv_ to pass in values. So to pass along NAME and VERSION variables, you would add this to the URL:
&zv_NAME=Joe+Smith&zv_VERSION=54.0
Deprecated but still working: You can separate the variables with a | character. Just add a string like this to the end of the Zingtree hosted URL or within the embed code:&variables=NAME|VERSION&values=Joe+Smith|54.0
More information:
- You can learn more about passing variables from the Publishing Links page for any tree.
- Try the Merge Variables Demo to see a live example.
- You can also examine the Merge Variables Demo tree from the Gallery.
-
Throughout 2022 Zingtree will be upgrading customers to our new faster and more modern user experience! Here's how to tell which experience your Zingtree Authors are currently using.
Log in to your Zingtree Author account and navigate to My Trees. How does your current My Trees page look?
Zingtree Classic
New User Experience
Merge Variables
- Updated