I have followed documentation to show inbound offer for identified user on website.
Created webapp (http://instancename/webApp/APP5) in the same instance and added below code
<div id="ContBO1"> First Best Offer </div>
<div id="ContBO2"> Second Best Offer </div>
<div id="ContPtn"> Partner Offer </div>
<script type="text/javascript">
interactionDivs={};
interactionDivs{"ContBO1"}=(space:"SPC10",categories:"OC7_liveRcp,OC5_liveVisitor"};
interactionDivs{"ContBO2"}=(space:"SPC10_2",categories:"OC7_liveRcp,OC5_liveVisitor"};
interactionDivs{"ContPtn"}=(space:"SPC9",categories:"OC9_liveRcp,OC6_liveVisitor"};
interactionTarget="xyz@gmail.com";
</script>
<script id="interactionProposalScript" src="http://instancename/nl/interactionProposal.js?env=liveRcp" type="text/javascript"></script>
- Added email attribute in advanced parameters while creating offer space.
- After loading APP5, expectation is, if email id is available identified offers would be displaced, if not anonymous offers would be displayed ,but offers are not getting loaded.
PFA screenshot, After loading webpage (http://instancename/webApp/APP5), I see success response from 1st url .
2nd url giving 500 error
- http://instancename/nl/interactionProposal.js?env=liveRcp
- http://instancename/interaction/?env=liveRcp&ctx=&z=0.6364123772435346 (2nd url initiated by 1st url) –with error response as “JST-310000 Error while compiling script 'get_interaction_proposal' line 37: strSpace is undefined.”
Can someone please help me to understand why offers are not getting displayed and how can I have it working
@Craig_Thonis