Ask about anything in DailyStory Developer Documentation

Type a question in your own words below. Answers are written from our published articles and cite the ones they came from.

Recently updated

    Dashboard
    Edit Article Logout

    Get Campaign Conversions


    Returns conversion summary statistics and a day-by-day conversion time series for a campaign. When start and end are omitted, the time series covers the past 60 days (UTC). The lifetime summary is always returned regardless of the requested window.

    Path Parameters
    campaignidnumberrequired
    The id of the campaign to return conversion data for.
    Query Parameters
    startstring
    Start date for the time-series, in yyyyMMdd format (no dashes). Example: 20250501 for May 1, 2025. Defaults to 60 days ago.
    endstring
    End date for the time-series, in yyyyMMdd format (no dashes). Example: 20250601 for June 1, 2025. Defaults to today (UTC).
    HTTP Response Examples
    200
    { "Status": true, "Message": "", "Response": { "summary": { "first_conversion": "2021-04-08T00:00:00", "last_conversion": "2021-04-09T00:00:00", "total_converted": 3, "total_entered": 2, "value": 166.36, "conversion_rate": 150 }, "total_conversions": 2, "total_conversions_value": 49.00, "conversions": [ { "campaign_name": null, "campaignid": 0, "funnelid": 0, "total": 1, "value": 24.50, "date_converted": "2021-12-08T21:11:57.495724Z", "converted": "2021-12-08" }, { "campaign_name": null, "campaignid": 0, "funnelid": 0, "total": 1, "value": 24.50, "date_converted": "2021-12-09T21:11:57.495724Z", "converted": "2021-12-09" } ] } }
    HTTP Response Parameters
    summaryobject
    Lifetime summary: first_conversion and last_conversion (datetimes), total_converted (count of conversions), total_entered (count of leads entered), value (total conversion value), and conversion_rate (percentage).
    total_conversionsnumber
    Count of conversions within the requested date range.
    total_conversions_valuenumber
    Total monetary value of conversions within the requested date range.
    conversionsarray
    Day-by-day time series. Each entry has campaign_name, campaignid, funnelid, total (count on that day), value (monetary value on that day), date_converted (datetime), and converted (yyyy-MM-dd).

    How helpful was this article?

    πŸ‘ or πŸ‘Ž

    Related Articles

    Markdown Version