Skip to main content


This method records the result of a text campaign. Information on results is available through the campaign report in the Text campaigns section as well as in dialog analytics.


$analytics.setTextCampaignResult("Campaign result", 1);

The method accepts two arguments:

resultStringCampaign resultYes
textCampaignIdNumberCampaign IDNo

Usage details

  • If called without passing the second argument, the method will use the ID of the last launched campaign.
  • If called several times, the final campaign result will be the value passed in the last call.