I'm struggling to get past 2 issues I'm having using the SurveyAPI in Luminate Online, directly in a pagebuilder page.
I've included the session identifier “[[S86]]”
My Ajax:
var APIKey = '[[S0:CONVIO_API_KEY]]';
function SubForm (){
jQuery.ajax({
url: 'https://secure3.convio.net/mycustomorg/site/CRSurveyAPI?method=submitSurvey&v=1.0&api_key=' + APIKey + '&survey_id=8991&question_8956=ThisWorks',
type: 'post',
success: function(){
alert("worked!");
}
});
}
I'm a little stumped and I'm looking for a little guidance or sample code to help get me on the right track.
Thanks so much!