Skip to content

Commit

Permalink
feat: Add courseKey to ConversionTracked RV event
Browse files Browse the repository at this point in the history
  • Loading branch information
julianajlk committed Nov 12, 2024
1 parent 963501c commit c708657
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/payment/checkout/Checkout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,10 @@ class Checkout extends React.Component {
if (products || products.length !== 0) {
products.forEach(product => {
productList.push({
externalId: typeof product.courseKey === 'string' ? product.courseKey : '',
variant: BaseTagularVariant.Courses, // TODO: all are 'courses' now, use translateVariant() in the future
brand: this.getPartnerName(product), // School or Partner name
name: product.title, // Course(s) title
name: typeof product.title === 'string' ? product.title : '', // Course(s) title
});
});
}
Expand Down

0 comments on commit c708657

Please sign in to comment.