This project contains a Jupyter notebook and super simple dataset that explores implementing a multi-touch attribution model using Markov Chains with Python.
You can view the Jupyter notebook here with nbviewer: https://nbviewer.jupyter.org/github/jakebenn/multi-touch-attribution-markov-chains/blob/master/multi-touch-attribution.ipynb.