-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Feature/add utm parameters #1473
base: main
Are you sure you want to change the base?
Conversation
…e facebook and twitter buttons Co-authored-by: victordscabral <[email protected]> Co-authored-by: kayrocesar <[email protected]>
Co-authored-by: victordscabral <[email protected]> Co-authored-by: kayrocesar <[email protected]>
…aign name yet Co-authored-by: victordscabral <[email protected]> Co-authored-by: kayrocesar <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the delay in reviewing. I had one question about a change but otherwise, it looks fine.
} | ||
}, [h('i.fa.fa-facebook-square'), ` ${I18n.t('nonprofits.donate.followup.share.facebook')}`] ) | ||
]) | ||
, h('div.u-inlineBlock.u-marginLeft--10.u-marginBottom--20', [ | ||
h('a.button--small.twitter.u-width--full', { | ||
props: { | ||
target: '_blank' | ||
, href: "https://twitter.com/intent/tweet?url="+window.location.href+"&via=CommitChange&text=Join me in supporting:" + (app.campaign.name || app.nonprofit.name) + "?/utm_source=twitter&utm_medium=organic_social&utm_campaign=" + encodeURIComponent(app.campaign.name) | ||
, href: "https://twitter.com/intent/tweet?url="+window.location.href+"&via=CommitChange&text=Join me in supporting:" + (app.campaign.name || app.nonprofit.name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason you moved away from having the utm_medium
and utm_campaign
here? I think it would probably be useful.
It's still necessary to