{"id":38805,"date":"2021-06-11T10:00:07","date_gmt":"2021-06-11T14:00:07","guid":{"rendered":"https:\/\/simpleprogrammer.com\/?p=38805"},"modified":"2021-06-11T08:19:53","modified_gmt":"2021-06-11T12:19:53","slug":"multi-channel-attribution-model-python","status":"publish","type":"post","link":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/","title":{"rendered":"How To Make a Multi-Channel Attribution Model With Python"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-38831\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Python-square.png\" alt=\"multi-channel attribution model\" width=\"280\" height=\"280\" \/>Shopping patterns have changed drastically in recent years. Nowadays, informed customers do research before investing in any item and make online purchases only after going through multiple channels and websites to get the best deals for themselves. However, this makes it difficult for marketers to correctly determine how much of each marketing channel the customer was exposed to before making a conscious choice.<\/p>\n<p>If we determine the channel paths that the customer goes through before purchasing their favorite product, we can analyze which channel has assisted them in making a purchase, using the channel attribution model. Such a multi-channel report would provide us with two important conversion values: last click conversion and assisted conversion.<\/p>\n<p>In this post, I will show you how to use <a href=\"https:\/\/simpleprogrammer.com\/5-benefits-of-python\/\" target=\"_blank\" rel=\"noopener\">Python<\/a> to build a multi-channel attribution model that could then be applied to retrieve the valuable information I referred to above. This would greatly help with marketing strategies for any business or even individual seller.<\/p>\n<h2>Traditional E-Commerce Attribution Models<\/h2>\n<p>Before I show you how you can build your attribution model based on <a href=\"https:\/\/simpleprogrammer.com\/get-started-learning-python\/\" target=\"_blank\" rel=\"noopener\">Python<\/a>, it would be productive to first take a quick look at some of the traditional e-commerce attribution models.<\/p>\n<p>Since the customer has become more research-oriented and prefers to explore all channels before indulging in a product, market agencies use marketing attribution models to track the channels that influenced the customer to purchase in the first place:<\/p>\n<ul>\n<li aria-level=\"1\"><strong>The First Touch Attribution Model<\/strong> &#8211; The first channel is given 100% credit, as it is considered the first marketing channel responsible for the customer\u2019s purchasing decision.<\/li>\n<li aria-level=\"1\"><strong>The Last Touch Attribution Model<\/strong> &#8211; The last channel or the last touchpoint is given 100% credit in this model, as it is considered that the last marketing channel touched was responsible for the customer\u2019s choice of purchase.<\/li>\n<li aria-level=\"1\"><strong>Linear-Touch Attribution Model<\/strong> &#8211; All the marketing channels present in the customer journey are given equal credit in this attribution model. Each channel is considered to influence the customer\u2019s choice of purchase equally.<\/li>\n<li aria-level=\"1\"><strong>U-Shaped or Bathtub Attribution Model<\/strong> &#8211; This model assigns 40% to the first and to the last channel, and 20% is distributed equally among the remaining channels. This channel is most common in e-commerce companies.<\/li>\n<\/ul>\n<p>Obviously, each model can give different insights into customer behavior. The specifics depend to some extent on the business involved, but that\u2019s precisely where a multi-channel attribution model can be valuable, as it allows us to understand what\u2019s most suitable in a given context.<\/p>\n<p>And now that we have taken a brief look at the various models, it\u2019s time to see how we can build our own <a href=\"https:\/\/www.amazon.com\/dp\/0655409971\/makithecompsi-20\" target=\"_blank\" rel=\"noopener\">multi-channel attribution<\/a> model.<\/p>\n<h2>Python Code To Build Multi-Channel Attribution Model<\/h2>\n<p>Let us take the following dataset. In columns, we have engagement activities, and we have the channels in a row that are engaged with. This dataset maintains a chronological order. We have assigned each marketing channel a fixed numerical value and have displayed them in such a way that in the x column, the x\u2019s engagement has been fetched from a user with a respective marketing channel.<\/p>\n<p>We have converted the data in channel 21. Hence, the dataset contains the journey of user conversion.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-38806 size-full\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/dataset.png\" alt=\"multi-channel attribution model\" width=\"512\" height=\"311\" \/><\/p>\n<p>Let us take the first step by importing the necessary libraries. Here, you have to import Pandas library for data manipulation, <a href=\"https:\/\/seaborn.pydata.org\/\" target=\"_blank\" rel=\"noopener\">Seaborn<\/a> for data analysis, <a href=\"https:\/\/www.w3schools.com\/python\/matplotlib_pyplot.asp\" target=\"_blank\" rel=\"noopener\">Matplotlib<\/a> for data visualization, and subprocess for creating new processes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-38807 size-full\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Code-1.png\" alt=\"multi-channel attribution model\" width=\"557\" height=\"92\" \/><\/p>\n<p>The next step is to load the dataset, which you can accomplish using the pd.read_csv() function. Now, you need to get the column list using df.columns. Having done that, you can iterate through columns for changing all integers to strings. After that, the data points have to be cleaned up.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-38808\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/code-2.png\" alt=\"\" width=\"557\" height=\"135\" \/><\/p>\n<p>Here, you need to use the Markov chain framework; hence, you need to take the user journeys in one variable. You need to consider it as the form of First Channel &gt; Second Channel &gt; Third Channel and so on. The next piece of code will perform this activity.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-38809\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/code-3.png\" alt=\"\" width=\"557\" height=\"116\" \/><\/p>\n<p>In the dataset, channel number 21 is the conversion event. Thus, we need to detach this channel from the original path. After that, you have to create another conversion variable that will hold the number of successful conversions. The following block of code will accomplish this.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-38810\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Code-4.png\" alt=\"\" width=\"557\" height=\"105\" \/><\/p>\n<p>Congrats, you have completed the data manipulation process!<\/p>\n<p>Now, you have to grab the subset of columns that you need to forward for the next step, as your dataset still has the original ones. You also need to group your user data here, as many users can take the same journey.<\/p>\n<p>Your conversion variable will contain the conversion number for every customer journey, respectively. Moreover, we need to create another CSV file to store the path data. You can use this CSV file to run the attribution approach.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-38811 size-full\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Code-5.png\" alt=\"multi-channel attribution model\" width=\"558\" height=\"139\" \/><\/p>\n<p>Now, you have two options. The first one is to install the channel attribution module using pip. To install this module, just go to your terminal, and write the following:<br \/>\n<code><br \/>\npip install --upgrade setuptools<br \/>\npip install Cython<br \/>\npip install ChannelAttribution<br \/>\n<\/code><\/p>\n<p>The second option is to create Markov networks\/ chains in <a href=\"https:\/\/www.amazon.com\/dp\/1775093328\/makithecompsi-20\" target=\"_blank\" rel=\"noopener\">Python<\/a> on your own. Nonetheless, it would be faster to integrate your Python code with the \u2018ChannelAttribution\u2019 library in the R programming language. This library contains all the executable components of channel attribution. You can use the Python library subprocess to accomplish this.<\/p>\n<p>If you want to calculate the first touch attribution, the following block of code will help you.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-38812\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Code-6.png\" alt=\"\" width=\"512\" height=\"119\" \/><\/p>\n<p>Similar to the first touch, you can also calculate the last touch attribution. The following block of code will accomplish that.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-38813\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Code-7.png\" alt=\"\" width=\"512\" height=\"119\" \/><\/p>\n<p>In addition, if you need to calculate the linear attribution, you can run the following piece of code.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-38814 size-full\" src=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Code-8.png\" alt=\"multi-channel attribution model\" width=\"512\" height=\"173\" \/><\/p>\n<p>Now, you can build a multi-channel attribution model<a href=\"https:\/\/www.codingninjas.com\/courses\/online-python-course\" target=\"_blank\" rel=\"noopener\"> using the Python programming language<\/a> by following the step-by-step procedure. Try it and see the results.<\/p>\n<h2>Challenges To Implementing a Data-Driven Attribution Model<\/h2>\n<p>Leading marketers are relying on a data-driven attribution model, as it can effectively determine the impact of touchpoints on a customer\u2019s journey. Brands can now fetch the data they need and analyze it, as that helps them to improve their marketing strategies based on customer insights.<\/p>\n<p>However, you may face various challenges while implementing a data-driven attribution model. These include:<\/p>\n<ul>\n<li aria-level=\"1\">The dilemma between <strong>taking action or getting insights <\/strong>can be the fundamental challenge that you will face. You will always want to add a new data point that will give you more insights. It can cause slow improvement and up-gradation.<\/li>\n<li aria-level=\"1\">There are various attribution models available. So you need to <strong>choose from various options<\/strong>. Most of the time, a specific attribution model leads to optimized results. Hence, finding the perfect model is challenging and needs more research.<\/li>\n<li aria-level=\"1\">You will find various tools to implement. But you need to s<strong>elect the perfect combination<\/strong>. Your team must be knowledgeable to overcome this challenge.<\/li>\n<li aria-level=\"1\">You need to <strong>integrate both offline and online touchpoints<\/strong> to get proper customer insights. Hence, you may face many challenges such as accurately record customer insights, identify unique keys for each touchpoint, impact issues, etc.<\/li>\n<\/ul>\n<p>Each situation demands a unique solution to the problem. It will require patience to analyze the problem to come up with the optimal solution. Each company might have different requirements, and there needs to be excellent coordination and synchronization among your team members to cater to specific needs.<\/p>\n<p>Not giving up at any point in time will lead you to your final goals. Coming up with smaller improvements will someday lead you to great success, so keep up the zeal, and face every challenge with a positive mindset and an optimistic viewpoint.<\/p>\n<h2>Knowledge Is Power<\/h2>\n<p>In this post, I showed you how to make multi-channel attribution models using Python. As you saw, there are various e-commerce attribution models in use, each one with its own characteristics.<\/p>\n<p>Moreover, using data-driven attribution models involves certain challenges, from the dilemma between taking actions or getting insights, to the various choices you will have to make.<\/p>\n<p>Still, knowledge is power: Understanding the customer journey arms you with the resources to take appropriate action. Hopefully, this post provides the best possible outcome for your knowledge and serves your purposes well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shopping patterns have changed drastically in recent years. Nowadays, informed customers do research before investing in any item and make online purchases only after going through multiple channels and websites to get the best deals for themselves. However, this makes it difficult for marketers to correctly determine how much of each marketing channel the customer&#8230;<\/p>\n","protected":false},"author":1369,"featured_media":38830,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[179,183,45348,415,162229213,162229803,1981],"tags":[],"class_list":["post-38805","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-business","category-entrepreneurship","category-frameworks","category-guest-post","category-marketing-3","category-programming","category-tools"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Make a Multi-Channel Attribution Model With Python - Simple Programmer<\/title>\n<meta name=\"description\" content=\"How to use Python to build a multi-channel attribution model that could retrieve valuable information like shopping patterns and customer channel paths.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Make a Multi-Channel Attribution Model With Python - Simple Programmer\" \/>\n<meta property=\"og:description\" content=\"How to use Python to build a multi-channel attribution model that could retrieve valuable information like shopping patterns and customer channel paths.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Simple Programmer\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-11T14:00:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Python.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"How To Make a Multi-Channel Attribution Model With Python\",\"datePublished\":\"2021-06-11T14:00:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/\"},\"wordCount\":1360,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Python.png\",\"articleSection\":[\"Business\",\"Entrepreneurship\",\"Frameworks\",\"Guest Post\",\"Marketing\",\"Programming\",\"Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/\",\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/\",\"name\":\"How To Make a Multi-Channel Attribution Model With Python - Simple Programmer\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Python.png\",\"datePublished\":\"2021-06-11T14:00:07+00:00\",\"author\":{\"@id\":\"\"},\"description\":\"How to use Python to build a multi-channel attribution model that could retrieve valuable information like shopping patterns and customer channel paths.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Python.png\",\"contentUrl\":\"https:\\\/\\\/simpleprogrammer.com\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Python.png\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/multi-channel-attribution-model-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/simpleprogrammer.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Make a Multi-Channel Attribution Model With Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/simpleprogrammer.com\\\/#website\",\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/\",\"name\":\"Simple Programmer\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/simpleprogrammer.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"\",\"url\":\"https:\\\/\\\/simpleprogrammer.com\\\/author\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Make a Multi-Channel Attribution Model With Python - Simple Programmer","description":"How to use Python to build a multi-channel attribution model that could retrieve valuable information like shopping patterns and customer channel paths.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/","og_locale":"en_US","og_type":"article","og_title":"How To Make a Multi-Channel Attribution Model With Python - Simple Programmer","og_description":"How to use Python to build a multi-channel attribution model that could retrieve valuable information like shopping patterns and customer channel paths.","og_url":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/","og_site_name":"Simple Programmer","article_published_time":"2021-06-11T14:00:07+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Python.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/#article","isPartOf":{"@id":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/"},"author":{"name":"","@id":""},"headline":"How To Make a Multi-Channel Attribution Model With Python","datePublished":"2021-06-11T14:00:07+00:00","mainEntityOfPage":{"@id":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/"},"wordCount":1360,"commentCount":0,"image":{"@id":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/#primaryimage"},"thumbnailUrl":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Python.png","articleSection":["Business","Entrepreneurship","Frameworks","Guest Post","Marketing","Programming","Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/","url":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/","name":"How To Make a Multi-Channel Attribution Model With Python - Simple Programmer","isPartOf":{"@id":"https:\/\/simpleprogrammer.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/#primaryimage"},"image":{"@id":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/#primaryimage"},"thumbnailUrl":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Python.png","datePublished":"2021-06-11T14:00:07+00:00","author":{"@id":""},"description":"How to use Python to build a multi-channel attribution model that could retrieve valuable information like shopping patterns and customer channel paths.","breadcrumb":{"@id":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/#primaryimage","url":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Python.png","contentUrl":"https:\/\/simpleprogrammer.com\/wp-content\/uploads\/2021\/06\/Python.png","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/simpleprogrammer.com\/multi-channel-attribution-model-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/simpleprogrammer.com\/"},{"@type":"ListItem","position":2,"name":"How To Make a Multi-Channel Attribution Model With Python"}]},{"@type":"WebSite","@id":"https:\/\/simpleprogrammer.com\/#website","url":"https:\/\/simpleprogrammer.com\/","name":"Simple Programmer","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simpleprogrammer.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"","url":"https:\/\/simpleprogrammer.com\/author\/"}]}},"_links":{"self":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/posts\/38805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/users\/1369"}],"replies":[{"embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/comments?post=38805"}],"version-history":[{"count":0,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/posts\/38805\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/media\/38830"}],"wp:attachment":[{"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/media?parent=38805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/categories?post=38805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/simpleprogrammer.com\/wp-json\/wp\/v2\/tags?post=38805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}