Skip to content

Commit 10d7c19

Browse files
committed
fix: remove utmSource
UTM Source is no longer used
1 parent e8538a3 commit 10d7c19

File tree

1 file changed

+1
-3
lines changed
  • src/shared/containers/challenge-detail

1 file changed

+1
-3
lines changed

src/shared/containers/challenge-detail/index.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,14 +290,12 @@ class ChallengeDetailPageContainer extends React.Component {
290290
const {
291291
auth,
292292
challengeId,
293-
communityId,
294293
openTermsModal,
295294
registerForChallenge,
296295
terms,
297296
} = this.props;
298297
if (!auth.tokenV3) {
299-
const utmSource = communityId || 'community-app-main';
300-
window.location.href = `${config.URL.AUTH}/member?retUrl=${encodeURIComponent(window.location.href)}&utm_source=${utmSource}&regSource=challenges`;
298+
window.location.href = `${config.URL.AUTH}/member?retUrl=${encodeURIComponent(window.location.href)}&regSource=challenges`;
301299
} else if (_.every(terms, 'agreed')) {
302300
registerForChallenge(auth, challengeId);
303301
} else {

0 commit comments

Comments
 (0)