Automatically Including Location Data in your Decision Trees

Zingtree can tell a lot about your end-users just by gleaning information from their browser. For example, you can determine their preferred language, and where they are located.  Zingtree gives you an option to collect this information, and use it in your decision trees.

For example, you can pre-fill a Zip code field in a Data Entry field, or use Logic Nodes to branch to a node depending on the end user’s language or country.

Using the Collect Location Data option in the Settings tool, you can gain access to the following information:

  • Language
  • City
  • State/Region
  • Country
  • Zip or Postcode
  • ISP
  • Origin/domain of server
  • User’s IP address
  • User’s browser type

Getting Set Up

Adding this data to your Zingtree session is easy. Here’s how to do it:

  1. Select your tree, and go to the Settings tool.
  2. Select Collect Location Data.


    If you want to do this for ALL your trees, also click on all my trees. (You can disable enhanced data collection on all your trees in the same way.)

  3. Click Update Settings.

From now on, any sessions with your tree will also include these variables:

  • zt_language (The 2 letter code of the user’s preferred language. “en” is English.)
  • zt_country
  • zt_regionName (this is a USA state)
  • zt_city
  • zt_zip (also Postal Code)
  • zt_isp (the user’s Internet Service provider)
  • zt_org (the origin domain of the user)
  • zt_ip (the user’s IP address)
  • zt_browser (the user’s browser type: IE, Firefox, Chrome, Safari, etc.)

When you examine a session (like from the Sessions List report), you’ll see these variables as a part of your session, like this:

 

Got any cool uses for this? Let us know!

1 Trackback

Leave a Reply

Your email address will not be published. Required fields are marked *