The following API allows you to dynamically push custom variables into Nanorep:
Note: The API code must be placed below the /*API Here*/ comment as part of the widget code snippet.
Displaying variables values in Nanorep answers:
When editing a Nanorep article, You can use the following syntax to pull the variable value:
1) If the variable does not exist (i.e. no API call was made for that variable) at the time the question is asked - Nanorep will not show this answer in the search results, and instead this will be considered as no-result.
2) There is an option to set a default value to the parameter. This will guarantee that the answer will be visible even if a variable was not found.