Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Share Bar#4794

Merged
sbsmith86 merged 4 commits intoDoSomethingArchive:devfrom
sbsmith86:share_utm_params
Aug 5, 2015
Merged

Share Bar#4794
sbsmith86 merged 4 commits intoDoSomethingArchive:devfrom
sbsmith86:share_utm_params

Conversation

@sbsmith86
Copy link
Contributor

This PR refactors how I was implementing share buttons on the campaign page (problem statement and hot module) and the permalink page.

Adds a function dosomething_helpers_share_bar() that spits out the markup needed for a standard facebook, twitter, tumblr share buttons, a pattern that we use at least three places on the site. This function also takes care of adding the necessary google analytics tracking classes and UTM parameters to the share links (resolves #4575 and #4611 )

@DoSomething/front-end

@DFurnes
Copy link
Contributor

DFurnes commented Aug 5, 2015

Coooooooool. 👍

sbsmith86 added a commit that referenced this pull request Aug 5, 2015
@sbsmith86 sbsmith86 merged commit 7742ce8 into DoSomethingArchive:dev Aug 5, 2015
@sbsmith86 sbsmith86 deleted the share_utm_params branch August 5, 2015 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

add UTM parameters to problem share URLs

2 participants