Converts Shopify exports into clean data to import into Facebook Custom Audiences
I assume you already understand the basics of python and pandas
Add exported data from Shopify to the exports directory.
- I create a new directory in /exports and name the it with the date (ex. /exports/4-4-18/ or whatever).
- Add the exported CSV(s) inside your newly created folder /exports/4-4-18/
Fire up jupyter notebook
Coming Soonjupyter notebook
There are filters on the data which need to be preset or removed
Change the exports directory in shopify_to_fb_audience.py to match yours (ex. /exports/4-4-18/).
Go to the bottom of the script, in the section 'Facebook to CSV' change CSV's output path and audience name to your choosing.
run python shopify_to_fb_audience.py
You will find your audience csv in the output path directory you set. Upload it to Facebook.