Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dobsontom/basket-abandonment
Data pipeline for detecting and responding to basket abandonment using BigQuery and Adobe Campaign.
https://github.com/dobsontom/basket-abandonment
adobe-campaign bigquery ga4 gcp sql
Last synced: about 2 months ago
JSON representation
Data pipeline for detecting and responding to basket abandonment using BigQuery and Adobe Campaign.
- Host: GitHub
- URL: https://github.com/dobsontom/basket-abandonment
- Owner: dobsontom
- Created: 2024-08-14T17:36:40.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-20T10:14:24.000Z (5 months ago)
- Last Synced: 2024-10-20T01:26:38.431Z (3 months ago)
- Topics: adobe-campaign, bigquery, ga4, gcp, sql
- Language: TeX
- Homepage:
- Size: 1.44 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basket Abandonment Detection
## Overview
This project is designed to detect and analyse instances of basket abandonment for the Google Merchandise Store. The project enables automatic detection of users who add items to their shopping carts but fail to complete the purchase, enabling automatic follow-up reminder emails.
## Key Components
- **Basket Abandonment Detection**: The system identifies cases of abandonment by checking whether items were added to the cart, ensuring no purchase occurred, and confirming that a certain time threshold has passed since the last activity.
- **Automation**: The detection process is set up to run every 15 minutes, ensuring that the data is consistently updated. This allows for timely email triggers via Adobe Campaign, reminding users about their abandoned carts.- **Documentation**: The submission includes a comprehensive PDF document explaining the approach, data sources, and technical details of the project.
## Files and Directories
- **actionable_dataset.csv**: The final dataset containing the results of the basket abandonment detection for December 2020. This dataset is used to trigger follow-up actions.
- **Cloud_Case_Study_Submission_Tom_Dobson.pdf**: The final report submitted as part of the application.- **queries**: Contains SQL scripts used for data transformation and analysis, including:
- **union_events.sql**: A script to combine event data for all days in December 2020.
- **basket_abandonment.sql**: The core script that creates the actionable dataset used for detecting basket abandonment.
- **tests.sql**: Scripts to validate and test the actionable dataset.- **latex**: Contains the LaTeX source files used to generate the PDF submission.
## How to Use
1. **Viewing the Submission**:
- The `Cloud_Case_Study_Submission_Tom_Dobson.pdf` file contains the detailed documentation for the project.
2. **Running the SQL Scripts**:
- The SQL scripts located in the `queries` directory can be executed in BigQuery to generate the Actionable Dataset needed for basket abandonment detection.
- `basket_abandonment.sql` should be scheduled in BigQuery to automate the detection process, ensuring up-to-date actionable datasets.