Installation of ChannelAttribution Pro
ChannelAttribution Pro can be installed on Windows, Linux, and macOS using the helper function install_pro() available in the Python and R versions of the ChannelAttribution package.
The installation procedure below is valid for all three operating systems. Step 0 is required only on Windows; Linux and macOS users should skip it and start directly from Step 1.
- PYTHON
- R
0) Windows only: install Visual Studio Build Tools
Windows users only: install the Visual Studio Build Tools. If you are using Linux or macOS, skip this step and continue with Step 1.
1) Install ChannelAttribution and dependencies
pip install ChannelAttribution requests distro
2) Request your token
Open a Python session and run:
from ChannelAttribution import install_pro
install_pro()
You will be prompted:
Enter your ChannelAttributionPro token. If you don't have one, enter your work/university email to request it:
Now enter your work or university email. A token will be sent to that address.
3) Install ChannelAttribution Pro
Run install_pro() again and, when prompted, enter the token you received:
from ChannelAttribution import install_pro
install_pro()
You will see the same prompt:
Enter your ChannelAttributionPro token. If you don't have one, enter your work/university email to request it:
Now enter your token and the installation will start automatically.
1) Install ChannelAttribution and dependencies
install.packages(c("ChannelAttribution","curl","jsonlite"))
2) Request your token
Open an R session and run:
library(ChannelAttribution)
install_pro()
You will be prompted:
Enter your ChannelAttributionPro token. If you don't have one, enter your work/university email to request it:
Now enter your work or university email. A token will be sent to that address.
3) Install ChannelAttribution Pro
Run install_pro() again and, when prompted, enter the token you received:
library(ChannelAttribution)
install_pro()
You will see the same prompt:
Enter your ChannelAttributionPro token. If you don't have one, enter your work/university email to request it:
Now enter your token and the installation will start automatically.
For any issue during installation, email us at info@channelattribution.io.