Skip to content
Noel Welsh edited this page Oct 25, 2012 · 17 revisions

Myna Javascript Client

This is a Javscript client for the v1 Myna API.

Examples

See the online demo on Myna.

Initialisation

Add this line just before the </head> tag:

<script type="text/javascript" src="http://cdn.mynaweb.com/clients/myna-1.latest.min.js"></script>

For more detail see Initialisation

API

  • Core Concepts describes the key features of this client.
  • The API documentation gives complete coverage of all features. In particular see:
  • Recipes describe how to implement several common patterns
    • Redirecting based on a suggestion
    • Integrating with Google Analytics
    • Changing text based on a suggestion
    • Rewarding when a button or link is clicked
    • Remembering a suggestion for later
Clone this wiki locally