{
  "Status": true,
  "Message": "",
  "Response": {
    "post": {
      "postuid": "b9f0cac8-69f2-4c1a-8ffb-b03eed02ab8c",
      "tenantuid": "d8b744fc-2e70-4089-bb80-dd1d08f6c7b2",
      "projectuid": "239698c5-f7eb-4574-8cc8-c6568f08b3a0",
      "title": "Conversion Funnels",
      "slug": "article/conversion-funnels",
      "html": "\u003Cp\u003EA conversion funnel is a feature that enables tracking how marketing activity influences outcomes. This includes: purchases or assignment of value as well as abandonment tracking for use in \u003Ca href=\u0022/article/pffq9y943p-autopilot-triggers\u0022\u003Ecart abandoned automations\u003C/a\u003E.\u003C/p\u003E\u003Ch2 id=\u0022how_to_setup_a_conversion_funnel\u0022\u003EHow to setup a conversion funnel\u003C/h2\u003E\u003Cp\u003ESetting up a conversion funnel requires a few steps. \u003C/p\u003E\u003Cp\u003EFor some platforms and integrations (such as Shopify) conversion funnel tracking is enabled automatically.\u003C/p\u003E\u003Cp\u003EBelow are the steps to setup a conversion funnel for a web application.\u003C/p\u003E\u003Ch3 id=\u0022conversion_tracking_for_a_website_or_web_application\u0022\u003EConversion tracking for a website or web application\u003C/h3\u003E\u003Cp\u003EThe \u003Ca href=\u0022/article/ppg0z9xv1v-installing-the-daily-story-tracking-tag\u0022\u003EDailyStory beacon\u003C/a\u003E is a small piece of JavaScript. It is a small piece of JavaScript code that should be added to every page in your website.\u003C/p\u003E\u003Cp\u003EIt is designed to load quietly without interfering with any page performance. It is similar in design to Google\u0027s Analytics beacon. Using the beacon enables functionality, such as telemetry on page visits, popups and more. It also is includes the functionality for conversion tracking.\u003C/p\u003E\u003Ccite class=\u0022important\u0022\u003E\u003Cspan class=\u0022title\u0022\u003EImportant\u003C/span\u003E\u003Cp\u003EWhile the beacon technically does not need to be on every page, it is recommended to ensure that you can track conversion flow: product pages -\u0026gt; cart pages -\u0026gt; completed checkout. This is how cart abandonment tracking is supported.\u003C/p\u003E\u003C/cite\u003E\u003Ch4 id=\u0022how_conversion_tracking_works_with_the_dailystory_beacon\u0022\u003EHow conversion tracking works with the DailyStory beacon\u003C/h4\u003E\u003Cp\u003EWhen using outbound marketing features such as email marketing, DailyStory automatically adds information to every outbound link. This includes the contact\u0027s unique DailyStory id (DsID) and it includes a special campaign token that identifies the campaign associated with the link.\u003C/p\u003E\u003Cp\u003EFor example, an email sent out for Black Friday Cyber Monday may be in a campaign \u0022BFCM 2025\u0022. Emails sent from that campaign will append this campaign information to the URL along with the recipients DsID.\u003C/p\u003E\u003Cp\u003EThe DailyStory beacon looks for this information in the URL and saves it to the browser\u0027s local storage (no cookies). This information is then used to associate a page visitors activity with outcomes, such as a checkout.\u003C/p\u003E\u003Ch3 id=\u0022create_a_conversion_funnel\u0022\u003ECreate a conversion funnel\u003C/h3\u003E\u003Cp\u003EThe next step is to navigate to \u003Ccode class=\u0022inline-code\u0022\u003ECampaigns \u0026gt; All Funnels\u003C/code\u003E and create a new conversion funnel. Once the conversion funnel is created you\u0027ll have access to the conversion funnel script and unique id. \u003C/p\u003E\u003Cp\u003EIt looks similar to this:\u003C/p\u003E\u003Cdiv class=\u0022code_wrapper\u0022\u003E\u003Cdiv class=\u0022code\u0022 data-language=\u0022javascript\u0022\u003E\u0026lt;!-- DailyStory Conversion Script --\u0026gt;\r\n\u0026lt;script\u0026gt;\r\n    document.addEventListener(\u0026quot;DOMContentLoaded\u0026quot;, function () {\r\n        const conversion_value = 0.00; // set conversion amount here\r\n        window.Ds \u0026amp;\u0026amp; window.Ds?.conversion(\u0026quot;f99c7c6f-bf25-4b39-9337-890d119eb6ab\u0026quot;, conversion_value);\r\n    });\r\n\u0026lt;/script\u0026gt;\u003C/div\u003E\u003C/div\u003E\u003Cp\u003EThis JavaScript is provided as an example, but the functionality needs to be included on your checkout page or wherever you want the conversion to be tracked. And, you will need to assign a value to the conversion. In the example above a const \u003Ccode class=\u0022inline-code\u0022\u003Econversion_value\u003C/code\u003E is used and passed in to the conversion() function.\u003C/p\u003E\u003Ch4 id=\u0022how_the_conversion_funnel_script_works\u0022\u003EHow the conversion funnel script works\u003C/h4\u003E\u003Cp\u003EWhen the conversion() function is called DailyStory sends the conversion id (e.g.\u0026nbsp;f99c7c6f-bf25-4b39-9337-890d119eb6ab) that identifies the funnel, the conversion value (e.g. 100.25 for $100.25 dollars), the associated campaign and the DsID. This information is then process by the DailyStory application and, if valid, assigns the conversion value to the campaign.\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-width=\u00221039\u0022 data-height=\u0022283\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/895283b8-2406-457b-8e21-93ede8871d57.png?v=-1662087173\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Ch2 id=\u0022conversion_tracking_for_an_app_or_integration\u0022\u003EConversion tracking for an app or integration\u003C/h2\u003E\u003Cp\u003ESetting up a conversion funnel for a web application is the most common. However, there are APIs available for more advanced use of conversion tracking. For example, from a mobile app.\u003C/p\u003E\u003Cp\u003EThese \u003Ca href=\u0022https://dev.dailystory.com/reference/create-conversion\u0022\u003Esteps are documented in our developer center\u003C/a\u003E.\u003C/p\u003E",
      "publish_status": 0,
      "post_type": "Article",
      "featured_image_updating": false,
      "meta_description": "Track and set up a conversion funnel for websites or apps with DailyStory. Learn how to measure purchases, cart abandonment, and assign conversion value.",
      "display_toc": true,
      "has_workingcopy": false,
      "allow_indexing": true,
      "sort_order": 16,
      "total_views": 174,
      "date_published": "2026-01-16T16:44:43.53",
      "date_updated": "2026-02-02T22:37:05.72",
      "date_created": "2026-01-16T16:11:58.143"
    }
  }
}