roam/aweber/20210915133101-analytics_view_service.org

313 lines
6.8 KiB
Org Mode
Raw Normal View History

2021-09-15 21:01:02 +00:00
:PROPERTIES:
:ID: c45881de-46f2-4f76-9579-063626c5956c
:END:
#+title: Analytics View Service
2021-11-03 03:49:10 +00:00
* Plan
:PROPERTIES:
:COLUMNS: %40ITEM %Effort{:}
:END:
#+BEGIN: columnview :id local
| ITEM | Effort |
|-----------------------------------------------+----------|
| Plan | 19d 4:00 |
| Create the analytics view service | 2d |
| Create the analytics view service playbook | 4h |
| Plan API structure | |
| Create endpoints for existing reports | 17d 0:00 |
| Opens | 1d |
| Clicks | 1d |
| Sales | 1d |
| Sales Totals | 1d |
| Sale Currencies | 1d |
| Sale Events | 1d |
| Lifetime Sales | 1d |
| Pending Broadcasts | 1d |
| Completed Broadcasts | 1d |
| Cities, States, and Countries | 1d |
| Followups | 1d |
| New Subscribers Daily | 1d |
| New Subscribers Weekly | 1d |
| New Subscribers Monthly | 1d |
| Subscriber Totals Daily | 1d |
| Subscriber Totals Weekly | 1d |
| Subscriber Totals Monthly | 1d |
| Migrate reports to the Analytics View Service | |
#+END:
** Create the analytics view service
:PROPERTIES:
:Effort: 2d
:END:
- New project using cookie cutter
- Deployed to kubernetes
- Grafana dashboard created
** Create the analytics view service playbook
:PROPERTIES:
:Effort: 4h
:END:
** Plan API structure
- Pathing (=/reports/*=)?
- Report versioning? (=/reports/{name}.v{version}=)?
** Create endpoints for existing reports
- Based on the endpoints provided in the [[id:3ddc4e32-932f-4748-bfe9-7025d4d6b352][Report API Controller]]
- Are all of these report endpoints in use?
*** Opens
:PROPERTIES:
:Effort: 1d
:END:
- List
- Account-wide
- By list
- Time
- Last 30 days
- 30 day range
2021-11-04 20:52:09 +00:00
#+caption: opens_all
#+begin_example
{
"2021-11-02T00:00:00Z": {
"broadcasts": 2499,
"followups": 2547,
"unique": 2923,
"total": 5046
},
"2021-11-03T00:00:00Z": {
"broadcasts": 25808,
"followups": 2430,
"unique": 24876,
"total": 28238
},
"2021-11-04T00:00:00Z": {
"broadcasts": 16733,
"followups": 1437,
"unique": 14780,
"total": 18170
}
}
#+end_example
2021-11-03 03:49:10 +00:00
*** Clicks
:PROPERTIES:
:Effort: 1d
:END:
- List
- Account-wide
- By list
- Time
- Last 30 days
- 30 day range
2021-11-04 20:52:09 +00:00
#+caption: clicks_all
#+begin_example
{
"2021-11-02T00:00:00Z": {
"broadcasts": 105,
"followups": 137,
"unique": 130,
"total": 242
},
"2021-11-03T00:00:00Z": {
"broadcasts": 636,
"followups": 185,
"unique": 622,
"total": 821
},
"2021-11-04T00:00:00Z": {
"broadcasts": 480,
"followups": 109,
"unique": 426,
"total": 589
}
}
#+end_example
2021-11-03 03:49:10 +00:00
*** Sales
:PROPERTIES:
:Effort: 1d
:END:
- Time
- Last 30 days
- 30 day range
- Currency
2021-11-04 20:52:09 +00:00
#+caption: sales_tracked_events
#+begin_example
[
{
"time": "2021-11-02 09:37:36-04",
"type": "followup",
"currency": "USD",
"revenue": "19.00",
"note": "",
"description": "Upgraded to Pro",
"source_url": "https://www.aweber.com/users/#upgraded",
"email": "team@harmoniamedia.com"
},
{
"time": "2021-11-02 09:37:37-04",
"type": "followup",
"currency": "USD",
"revenue": "19.00",
"note": "",
"description": "Upgraded to Pro",
"source_url": "https://www.aweber.com/users/#upgraded",
"email": "team@harmoniamedia.com"
},
{
"time": "2021-11-02 12:01:17-04",
"type": "followup",
"currency": "USD",
"revenue": "19.00",
"note": "",
"description": "Upgraded to Pro",
"source_url": "https://www.aweber.com/users/#upgraded",
"email": "giuliagiardino12@gmail.com"
},
{
"time": "2021-11-02 12:01:19-04",
"type": "followup",
"currency": "USD",
"revenue": "19.00",
"note": "",
"description": "Upgraded to Pro",
"source_url": "https://www.aweber.com/users/#upgraded",
"email": "giuliagiardino12@gmail.com"
},
{
"time": "2021-11-04 05:21:35-04",
"type": "broadcast",
"currency": "USD",
"revenue": "19.00",
"note": "",
"description": "Upgraded to Pro",
"source_url": "https://www.aweber.com/users/#upgraded",
"email": "jeremy@jeremy-quick.com"
},
{
"time": "2021-11-04 05:21:36-04",
"type": "broadcast",
"currency": "USD",
"revenue": "19.00",
"note": "",
"description": "Upgraded to Pro",
"source_url": "https://www.aweber.com/users/#upgraded",
"email": "jeremy@jeremy-quick.com"
}
]
#+end_example
2021-11-03 03:49:10 +00:00
*** Sales Totals
:PROPERTIES:
:Effort: 1d
:END:
- Time
- Last 60 days
- 60 day range
2021-11-04 20:52:09 +00:00
#+caption: sales_tracked_summary
#+begin_example
{
"2021-11-02T00:00:00Z": {
"broadcast": 0,
"followup": 76,
"pageview": 76,
"ecommerce": 0,
"total": 76
},
"2021-11-03T00:00:00Z": {
"broadcast": 0,
"followup": 0,
"pageview": 0,
"ecommerce": 0,
"total": 0
},
"2021-11-04T00:00:00Z": {
"broadcast": 38,
"followup": 0,
"pageview": 38,
"ecommerce": 0,
"total": 38
}
}
#+end_example
2021-11-03 03:49:10 +00:00
*** Sale Currencies
:PROPERTIES:
:Effort: 1d
:END:
- Time
- 60 day range
- All time
2021-11-04 20:52:09 +00:00
#+caption: sales_tracked_currencies
#+begin_example
["USD"]
#+end_example
2021-11-03 03:49:10 +00:00
*** Sale Events
:PROPERTIES:
:Effort: 1d
:END:
- Time
- Last 30 days
- 30 day range
- Currency
- Type
*** Lifetime Sales
:PROPERTIES:
:Effort: 1d
:END:
- Currency
*** Pending Broadcasts
:PROPERTIES:
:Effort: 1d
:END:
*** Completed Broadcasts
:PROPERTIES:
:Effort: 1d
:END:
- List
- Account-wide
- By list
- Time
- All time
- 30 day range
*** Cities, States, and Countries
:PROPERTIES:
:Effort: 1d
:END:
*** Followups
:PROPERTIES:
:Effort: 1d
:END:
*** New Subscribers Daily
:PROPERTIES:
:Effort: 1d
:END:
*** New Subscribers Weekly
:PROPERTIES:
:Effort: 1d
:END:
*** New Subscribers Monthly
:PROPERTIES:
:Effort: 1d
:END:
*** Subscriber Totals Daily
:PROPERTIES:
:Effort: 1d
:END:
*** Subscriber Totals Weekly
:PROPERTIES:
:Effort: 1d
:END:
*** Subscriber Totals Monthly
:PROPERTIES:
:Effort: 1d
:END:
** Migrate reports to the Analytics View Service