Special Tree Variables

  • Updated
  • You can automatically include some handy variables in your sessions, including:

    • The starting tree name and ID.
    • The last tree name and ID (may be different than the starting tree if you are using tree nodes).
    • Location data for the end-user. 


    To enable these special variables, do the following:

    1. Go to the Settings tool, and click the Data tab.
    2. Select the variables you want to include in future sessions.


    The tree variables are:

    • tree_name - the name of the starting tree.
    • tree_id - the ID number of the starting tree.
    • last_tree_name - The name of the last tree referenced in the session.
    • last_tree_id - The ID of the last tree referenced in the session.
    • container_url - For embedded trees, the URL that contains your embedded tree.

  • You can automatically include some handy variables in your sessions, including:

    • The starting tree name and ID.
    • The last tree name and ID (may be different than the starting tree if you are using tree nodes).
    • Location data for the end-user. 


    To enable these special variables, do the following:

    1. Go to the Settings tool, and click the Data tab.
    2. Select the variables you want to include in future sessions.


    The tree variables are:

    • tree_name - the name of the starting tree.
    • tree_id - the ID number of the starting tree.
    • last_tree_name - The name of the last tree referenced in the session.
    • last_tree_id - The ID of the last tree referenced in the session.
    • container_url - For embedded trees, the URL that contains your embedded tree.

  • 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

    2022-02-25_12-24-51.png

    New User Experience

    mceclip0.png

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request