Skip to content

Commit

Permalink
Add location prop to tracking ref, so promo can be used in multiple l…
Browse files Browse the repository at this point in the history
…ocations
  • Loading branch information
mkaz committed Feb 2, 2016
1 parent 684a0d5 commit ac5a9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/app-promo/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default React.createClass( {
return null;
}

var promo_link = 'https://desktop.wordpress.com/?ref=promo_write_' + this.state.promo_item.promo_code;
var promo_link = 'https://desktop.wordpress.com/?ref=promo_' + this.props.location + '_' + this.state.promo_item.promo_code;
var element = (
<div className="app-promo">
<span tabIndex="0" className="app-promo__dismiss" onClick={ this.dismiss } >
Expand Down

0 comments on commit ac5a9ab

Please sign in to comment.