Learn how to do smarter & better email marketing
Adding conversion statistics report to your campaigns

To see conversion report in this campaign, you'll need to notify MailSurgeon when conversion event happens on your end.

To do so, you'll need to send an http POST request to the following end-point, including the elementary parameter campaign_code:

https://www.mailsurgeon.com/im/cv?campaign_code={{campaign-serial}}

For more meaningful report, add conversion information using the following POST parameters:

  • email / same valid email address
  • amount / decimal (10,2)
  • currency / 3 letters (USD/XXX)
  • number / 0-11 digits
  • string / up to 64 letters
  • description / up to 128 letters

Example for sending post request using JS:

<script>
    var params = {
        email: '[email protected]',
        amount: '65.95',
        currency: 'EUR',
        number: 3,
        string: 'deposit',
        description: 'premium user'
    }

    function TrackConversion() {
        var req = new XMLHttpRequest();
        req.open("POST", 'https://www.mailsurgeon.com/im/cv?campaign_code={{campaign-serial}}');
        req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;charset=UTF-8");
        req.send(JSON.stringify(params));
    }
</script>