Embedding Results

You can also embed an iframe on your website that displays the results for your survey. The same traitwise.localsetup.php file determines the tags used to report results - the same ones that determine the content of your survey.

In this example, we've also passed a 'page_size' parameter so that at most, two questions will be displayed per page of results. You can set this value to whatever is most appropriate for your website.

You can also pass a filter string so that the results displayed initally are filtered in some way. Note that filter strings have special characters like # and = in them, and so should be "escaped" before pasting into a parameter string for the iframe src. You can setup filtering that you like interactively, and then paste the resulting string into an online URL encoder/decoder to get the encoded string.