Пример #1
0
  componentDidMount() {
    const {
      originalPrice,
      salePrice,
      abandoned,
      affiliate,
      betweenOffers,
      afterOffers,
      offerTimeRemaining,
      duringReopenOffer,
      duringInitialOffer,
      leadId,
      experiments
    } = this.props;


    page(PRESALE_PAGE, {
      pageVariation: 'old-man-alan',
      betweenOffers,
      afterOffers,
      offerTimeRemaining,
      duringInitialOffer,
      duringReopenOffer,
    });

  }
Пример #2
0
  componentDidMount() {
    const {
      originalPrice, salePrice, abandoned, affiliate, betweenOffers,
      afterOffers, offerTimeRemaining, duringReopenOffer, duringInitialOffer,
      leadId, experiments
    } = this.props;

    let gaProduct = `4WFS`;
    if (salePrice === originalPrice) {
      gaProduct = `${gaProduct} ${originalPrice}`;
    } else {
      gaProduct = `${gaProduct} ${salePrice}`;
    }
    if (duringReopenOffer) {
      gaProduct = `${gaProduct} Reopen`;
    }
    if (abandoned) {
      gaProduct = `${gaProduct} Abandon`;
    }
    if (affiliate) {
      gaProduct = `${gaProduct} Aff`;
    }

    const experimentVariation = experiments.get(optionsExperiment);
    track(VIEWED_EXPERIMENT, {optionsExperiment, experimentVariation});

    page(PROMO_PAGE, {
      salePrice, abandoned, affiliate, betweenOffers, afterOffers,
      offerTimeRemaining, duringInitialOffer, duringReopenOffer, gaProduct
    });

  }
 componentDidMount() {
   const {
     source,
     keyword
   } = this.props;
   page(LANDER_PAGE, {source, keyword});
 }
Пример #4
0
  componentDidMount() {
    const {
      downsellPrice, salePrice, abandoned, affiliate, betweenOffers,
      afterOffers, offerTimeRemaining, duringReopenOffer, duringInitialOffer,
      leadId, experiments
    } = this.props;

    let gaProduct = `4WFS Downsell`;

    // const experimentVariation = experiments.get(optionsExperiment);
    // track(VIEWED_EXPERIMENT, {optionsExperiment, experimentVariation});

    page(DOWNSELL_PAGE, {
      gaProduct
    });

  }