[REV-1205] Add ecommerce event tracking to welcome banner upsell links (#24529)

This commit is contained in:
Diane Kaplan
2020-07-23 13:21:05 -04:00
committed by GitHub
parent 3e31e6bb44
commit 569fb36fee
5 changed files with 26 additions and 6 deletions

View File

@@ -442,7 +442,7 @@ class TestCourseHomePageAccess(CourseHomePageTestCase):
bannerText = u'''<div class="first-purchase-offer-banner" role="note">
<span class="first-purchase-offer-banner-bold">
Upgrade by {discount_expiration_date} and save {percentage}% [{strikeout_price}]</span>
<br>Use code <b>EDXWELCOME</b> at checkout! <a href="{upgrade_link}">Upgrade Now</a>
<br>Use code <b>EDXWELCOME</b> at checkout! <a id="welcome" href="{upgrade_link}">Upgrade Now</a>
</div>'''.format(
discount_expiration_date=discount_expiration_date,
percentage=percentage,