[Bug 566543] Social Share on Blog Posts
Bugzilla Link | 566543 |
Status | REOPENED |
Importance | P3 normal |
Reported | Sep 01, 2020 06:17 EDT |
Modified | Jun 11, 2021 08:55 EDT |
See also | Gerrit change 181112, Git commit 271bd2c2, Gerrit change 181272, Git commit 6a017d4f |
Description
This is a feature request to add social share buttons (Twitter, LinkedIn, ...) to blogs.eclipse.org posts. This will make it much more convenient to share posts.
Sample post currently with no share options:
https://blogs.eclipse.org/post/brian-king/7-talks-about-tools-you-won%E2%80%99t-want-miss-eclipsecon-2020
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
moved from eclipsefdn/helpdesk#522 (moved)
- Brian King added Bugzilla in Eclipse Foundation / Help Desk legacy in Eclipse Foundation / Help Desk eclipsefdn/helpdesk~21670 labels
added Bugzilla in Eclipse Foundation / Help Desk legacy in Eclipse Foundation / Help Desk eclipsefdn/helpdesk~21670 labels
- Maintainer
We removed that feature since we found that the widget was tracking users.
We would need to find a solution where this is not an issue.
- Maintainer
@Eric,
Can you take a look at this next week?
Can we leverage the work that we did on the Eclipse Newsletter here?
https://www.eclipse.org/community/eclipse_newsletter/2021/march/3.phpI also want us to start tracking these clicks by creating a Campaign URL that our user will share:
https://ga-dev-tools.appspot.com/campaign-url-builder/
For example, If a user tries to share that newsletter article, the URL should be something like:
This should allow us to track how much traffic these icons are generating!
- Maintainer
(In reply to Christopher Guindon from comment #2)
@Eric,
Can you take a look at this next week?
Can we leverage the work that we did on the Eclipse Newsletter here?
https://www.eclipse.org/community/eclipse_newsletter/2021/march/3.php\
I also want us to start tracking these clicks by creating a Campaign URL
that our user will share:
https://ga-dev-tools.appspot.com/campaign-url-builder/\
For example, If a user tries to share that newsletter article, the URL
should be something like:
https://www.eclipse.org/community/eclipse_newsletter/2021/march/3.\ php?utm_source=blogs.eclipse.org&utm_medium=social-media-
icons&utm_campaign=Jakarta%20EE%20and%20MicroProfile%20Alignment%3A%20Your%20
Input%20Is%20Needed
This should allow us to track how much traffic these icons are generating!Ok.
I'm able to add the buttons easily to the blog pages, I'll just need to update the code to update the url.
New Gerrit change created: https://git.eclipse.org/r/c/www.eclipse.org/eclipse.org-common/+/181112
- Maintainer
Hi Brian,
I added the social icons to the blogs website.
Here is an example:
https://blogs.eclipse.org/post/gael-blondelle/you-can-help-us-make-gaia-x-more-openLet me know if there's anything else.
Thanks
- Author
Reopening as I see a few issues. Seeing these on Firefox on macOS:
-
Can we add LinkedIn? I'd argue that would be the most important one?
-
Not all of the Twitter url is encoded correctly, the title part on the utm_campaign parameter. Therefore the link breaks. I'll post a screenshot.
-
The mail link doesn't contain any body, so the url is not passsed into the email.
-
The service icons are not centered in the box they are in. There is more spacing at the top than bottom.
-
- Author
Created Screenshot_2021-05-31_at_20.46.16 Broken link on Twitter
- Maintainer
(In reply to Brian King from comment #7)
Reopening as I see a few issues. Seeing these on Firefox on macOS:
\- Can we add LinkedIn? I'd argue that would be the most important one?
\ - Not all of the Twitter url is encoded correctly, the title part on the
utm_campaign parameter. Therefore the link breaks. I'll post a screenshot.
\ - The mail link doesn't contain any body, so the url is not passsed into
the email.
\ - The service icons are not centered in the box they are in. There is more
spacing at the top than bottom.
Thanks Brian for reporting this. I'll have a look as soon as I can.
- Can we add LinkedIn? I'd argue that would be the most important one?
New Gerrit change created: https://git.eclipse.org/r/c/www.eclipse.org/eclipse.org-common/+/181272
- Maintainer
(In reply to Brian King from comment #7)
Reopening as I see a few issues. Seeing these on Firefox on macOS:
\- Can we add LinkedIn? I'd argue that would be the most important one?
\ - Not all of the Twitter url is encoded correctly, the title part on the
utm_campaign parameter. Therefore the link breaks. I'll post a screenshot.
\ - The mail link doesn't contain any body, so the url is not passsed into
the email.
\ - The service icons are not centered in the box they are in. There is more
spacing at the top than bottom.
I created the following patch to fix the url encoding and to add a body to the email.
https://git.eclipse.org/r/c/www.eclipse.org/eclipse.org-common/+/181272
We'll keep this bug opened to see if we can add LinkedIn to the list and also realign the styles.
- Can we add LinkedIn? I'd argue that would be the most important one?
- Maintainer
My patch to fix the encoding is now live on production.
Let me know if there's anything else.
Thanks!
- Maintainer
(In reply to Eric Poirier from comment #13)
My patch to fix the encoding is now live on production.
Let me know if there's anything else.
Thanks!Looks like the link is broken when there are spaces in the url:
https://blogs.eclipse.org/post/tanja-obradovic/jakarta-ee-community-update-may-2021uRLs can't contain spaces, they need to be encoded.
- Maintainer
Created Screen_Shot_2021-06-08_at_3.04.51_PM screenshot
(In reply to Christopher Guindon from comment eclipsefdn/helpdesk#14 (closed))
(In reply to Eric Poirier from comment eclipsefdn/helpdesk#13 (closed))
My patch to fix the encoding is now live on production.
Let me know if there's anything else.
Thanks!
Looks like the link is broken when there are spaces in the url: https://blogs.eclipse.org/post/tanja-obradovic/jakarta-ee-community-update- may-2021
uRLs can't contain spaces, they need to be encoded.
Yes this is what my patch is fixing.
I just emptied the cache maybe you weren't seeing the changes?
Seems to be working for me.
Let me know if I'm missing something.
Thanks.
- Author
It works now first time for me. However, everytime you click any of the buttons after that, the parameters are added on again to the url meaning that the url grows exponentially and there are duplicate variables.
- Maintainer
(In reply to Brian King from comment #16)
It works now first time for me. However, everytime you click any of the
buttons after that, the parameters are added on again to the url meaning
that the url grows exponentially and there are duplicate variables.Hi Brian,
Can you provide a screenshot? I'm trying to click multiple times on the same button and I can't reproduce what you're saying.
Thanks.
- Author
I can't reproduce the duplication issue again.
Question: Why is the title being used for the utm_campaign parameter?
- Maintainer
(In reply to Brian King from comment #18)
I can't reproduce the duplication issue again.
Question: Why is the title being used for the utm_campaign parameter?So that it's easier to retrace when looking at the analytics. If ever we want to create a report we'll be able to tell on which blog post attracted the most clicks.
- Maintainer
(In reply to Brian King from comment #18)
I can't reproduce the duplication issue again.
Question: Why is the title being used for the utm_campaign parameter?Eric implemented this based on my requirements here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=566543#c2Let us know if you think we should use something else! My expectation was that we would make some adjustments once this goes live if someone looks a the data!
- Christopher Guindon added Feature Request label
added Feature Request label
- Maintainer
Closing this issue since the requirements seems to have been met.
@bking18m please reopen if there's still problems with these changes.
Thanks.
- Eric Poirier closed
closed
- Author
Can we get a LinkedIn share button?
- Brian King reopened
reopened
- Christopher Guindon assigned to @epoirier
assigned to @epoirier
- Christopher Guindon added Enhancement label
added Enhancement label
- Christopher Guindon closed
closed
- Christopher Guindon reopened
reopened
- Christopher Guindon unassigned @epoirier
unassigned @epoirier
- Christopher Guindon added to epic &6 (closed)
added to epic &6 (closed)
- Christopher Guindon added statetodo label
added statetodo label
- Christopher Guindon assigned to @epoirier
assigned to @epoirier
- Christopher Guindon added statewip label and removed statetodo label
- Maintainer
I found the following module which works pretty well.
https://git.drupalcode.org/project/social_media
It does everything that we need, buttons on each nodes, doesn't add 3rd party scripts to the pages.
One thing that we will need to explore but is not a blocker, is that we currently support marketing campaigns and do be able to do the same thing with this module, we would have to create a new token. Something similar to [current:url] but that contains the marketing campaign parameters.
Other then that, the Social Media module is pretty good and simple to use.
- Maintainer
Closing since we merged the social media module to the repo.
- Eric Poirier closed
closed