Skip to content

Instantly share code, notes, and snippets.

@thomasgriffin
Created December 9, 2015 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save thomasgriffin/f1b7a97cd8f9fbdcad62 to your computer and use it in GitHub Desktop.
Save thomasgriffin/f1b7a97cd8f9fbdcad62 to your computer and use it in GitHub Desktop.
OptinMonster Dynamic Text Replacement API - getCustomVariables
<script type="text/javascript">
var OptinMonsterCustomVariables = function(app) {
/**
* API method for retrieving all custom variables. Must be accessed via the app object.
*
* @return object A JavaScript object with key/value pairs for custom variables.
*/
app.getCustomVariables();
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment