Skip to content

Commit

Permalink
updated UTM link for Barry banner
Browse files Browse the repository at this point in the history
now same on mobile and desktop
  • Loading branch information
tth4vb committed Jul 8, 2019
1 parent 8cd4351 commit 93c7cb9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web/src/components/referral.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ export default class Referral {
const refferalContent = selector.append('a')
.attr('class', 'referral barry')
.attr('target', '_blank')
.attr('href', getState().application.isMobile
? 'https://getbarry.page.link/tomorrow'
: 'https://www.getbarry.co/?utm_source=tomorrow&utm_medium=affiliate&utm_campaign=Electricitymap'
)
.attr('href', 'https://getbarry.page.link/tomorrow')
.on('click', () => {
thirdPartyServices.trackWithCurrentApplicationState('referralClicked');
});
Expand Down

0 comments on commit 93c7cb9

Please sign in to comment.