This site is no longer updated.Go to new Conversational Cloud docs

$analytics.setTextCampaignResult


The method sets the text campaign result that you can track in the statistics report.

Syntax

The method accepts two arguments:

Argument Type Description Required
result String Campaign result Yes
textCampaignId Number Campaign ID No
$analytics.setTextCampaignResult("Campaign result", 1);

If the ID is not passed, the method will use the ID of the last launched campaign.

The campaign result will be displayed in the campaign report on the Text campaigns tab and on the Analytics > Dialogs page.