Closed ravinderk closed 2 years ago
Looks solid, @ravinderk! Let's get this over to QA!
👍
@JasonTheAdams After debugging the Google Analytic event data, I found a few bugs which have been fixed.
refund
and purchase
event do not appear in the real-time dashboard because client id
and session id
was incorrect. I was fetching them from renewal donation metadata instead of parent donation metadata.item_category_3
has an incorrect value for the subscription because I was looking for the subscription id in the donation model, but it does not set for subscription initial payment.item_category_3
does not track correctly for an item for iframe donation on the frontend because I did not add logic. It is working only for the legacy form template.Note: For renewal donation, refund
and purchase
events will appear in the real-time dashboard in Google analytics.
Resolves #47
Description
This pull request implements Google Analytics tracking for renewals. A category (
One-Time
,Subscription
, orRenewal
) will be added to item information.Pre-review Checklist
@unreleased
tags included in DocBlocks