Social sharing is the sharing of information (news and articles) in social networks. You can include links in your emailings, which allow the recipient to publish (share) the corresponding article in his or her preferred social network.
Social networks
Currently the system supports sharing in the following networks:
- MySpace
- Delicious
- Google Bookmarks
Setup
Only the desired replacement variables must be built into the article templates used.
Example:
<a href=”{$SOCIAL_TWITTER_URL}”>Sharing in Twitter</a>
The list of all replacement variables can be found in the "Personalization variables" area. It is currently not possible to use the function without article templates.
The replacement variables will be replaced by ready links. These transfer the link to the landing page of the respective article to the social network. If a user from the social network now clicks on the transferred link, he either ends up on the long text version of the article and sees the article exactly as the newsletter recipient does, or he is redirected to the target of a set landing page link.
Information
What data is transferred?
This depends on the network. Usually the headline of the article and a link to the landing page is transferred. The only exception is Facebook: A text section as well as the article picture is transferred and displayed on the profile page.
Are statistics collected?
Every "share" from the newsletter to the social network as well as every click on the links in the networks is evaluated. The evaluation from these actions can be viewed in the shipping statistics.
What do I have to consider when using the service?
In order to display the correct article and achieve the most accurate tracking possible ,the variable used to assign a user is attached to each link. Therefore you should pay attention to the following points when using social sharing: There should be no possibility to edit or view the profile data of a recipient on the landing page of an article. Links that lead from the landing page back to the newsletter should be avoided. There should be no possibility to unsubscribe from the newsletter on the landing page.
After a share suddenly a "ems.li" URL appears?
We use our own "link-shortener" for the links that are shared in the social networks. A link in the form "http://ems.li/u/...." leads directly to the long text version of the article or redirects the user to the target of the landing page link.
Special case Facebook sharing
The sharing of the landing page of a newsletter in Facebook is solved by means of the OpenGraph protocol. For this, special tags must be integrated into the HTML code of the landing page and filled via TAL.
Example:
<div tal:omit-tag="true" tal:condition="THIS/getNewsletter/hasSelectedArticle">
<meta property="og:title" content="TITLE" tal:attributes="content THIS/getNewsletter/getSelectedArticle/getHeadline" />
<meta property="og:image" content="IMAGE" tal:attributes="content THIS/getSelectedArticle/getImageUrl" />
<meta property="og:description" content="DESCRIPTION" tal:attributes="content THIS/getSelectedArticle/getText" />
</div>
For this to work, the following attributes must be added to the <html> tag:
xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"
These codes are already integrated in our sample templates.
Note!
Facebook does not share pictures that are smaller than 200x200px, even if these must be specified explicitly.