Skip to content

Commit

Permalink
add UTM params for GA use
Browse files Browse the repository at this point in the history
  • Loading branch information
lloan committed Nov 27, 2023
1 parent 5f5e11e commit 78db795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/popup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,7 @@
if (isHolidayPromo2023Available && !premium && isHolidayPromo2023Active && premiumAvailability) {
const getPeriodicalPremiumPlanYearlyId = getPeriodicalPremiumPlans.plan_country_lang_mapping[getPeriodicalPremiumPlans.country_code]["*"].yearly.id;
const fxaOrigin = (await browser.storage.local.get("fxaOrigin")).fxaOrigin.FXA_ORIGIN;
const holidayPromo2023Url = `${fxaOrigin}/subscriptions/products/${getPeriodicalPremiumProductId}?plan=${getPeriodicalPremiumPlanYearlyId}&coupon=HOLIDAY20`;
const holidayPromo2023Url = `${fxaOrigin}/subscriptions/products/${getPeriodicalPremiumProductId}?plan=${getPeriodicalPremiumPlanYearlyId}&coupon=HOLIDAY20&utm_source=fx-relay-addon&utm_medium=popup&utm_content=panel-news-holiday-promo-2023-cta`;

sessionState.newsContent.push({
id: "holiday-promo-2023",
Expand Down

0 comments on commit 78db795

Please sign in to comment.