About Gigya
Gigyas mission is to socialize the rest of the web.
We provide websites with a complete social infrastructure that creates immersive social
experiences for users and provides unparalleled customer insights for businesses.
Gigya equips businesses like ABC, Pepsi and Verizon with a comprehensive solution to socialize
their online properties. Our technology enables seamless registration with Social Login,
increases traffic and time spent on-site via Social Plugins and Gamification and transforms
marketing by leveraging permission-based social identity data.
Gigya works with more than 500 enterprises and touches more than one billion users per month.
Our platform extracts the real value from social networks, empowering online businesses to
attract, engage and understand users like never before.
Gigyas web site: http://www.gigya.com
Customers
Customers page: http://www.gigya.com/clients/
Example sites (an assortment of customer implementations):
http://developers.gigya.com/057_Example_Sites
CMS modules
Gigya has several CMS platforms modules & plugins available for downloaded for quick &
simple integration into sites. Gigya modules include:
Demandware:
Sandbox beta version of our latest cartridge: http://gigya01.tech-prtnrna01.dw.demandware.net/on/demandware.store/Sites-SiteGenesis-Site
Drupal: http://drupal.org/project/gigya
ATG: http://developers.gigya.com/050_CMS_Modules/Gigya_Module_for_Oracle_ATG
Magento: http://developers.gigya.com/050_CMS_Modules/050_Magento
Features
Gigya modules for e-commerce CMS should support the following features:
Social Login register/login to the site with your social identity.
Account Linking link your existing site account with your social identity.
Reactions - placing a Gigya Reactions bar on products, allows users to react to content in
your site and share their reaction to social networks.
Rating & Reviews for e-Commerce sites, replace the default review module
and enable customers to rate, review products and comment on others reviews.
Activity Feed - Gigyas Activity Feed can be displayed on the stores front-page, showing
recent site activity.
Gamification - Gamification plugins will be displayed on the users profile page, showing
the users achievements and driving them to engage in more site activity.
Settings & Configuration page customize & configure the UI and behavior of
Gigyas plugins.
Technical Details
User registration & login flow
This is the most important stage of the implementation process. Please also see Gigyas guide for
implementing Social Login at the link below. Its a must read.
http://developers.gigya.com/010_Developer_Guide/10_UM360/030_Social_Login
Guidelines:
As a general rule, the registration process should be as quick and effortless as possible.
When registering through a social network, the user will not be asked to choose a username or a password. Only his social credentials would be needed to login. The best
practice is for the registration process to not ask the users for any additional info when
registering through a social network.
2
The social login implementation should include displaying social networks icons on the
front page to initiate social login. The settings page will allow choosing which icons to
display and configure the icons size.
Implementation:
Prerequisites (further instructions at the guide on the URL above)
1
Social network login (step #1 is done on the client side, 2-4 are done on server side)
Clicking one of the icons in the Social Login plugin will initiate a
login flow to the relevant social network. Upon successful login, an onLogin
event will be fired.
1
New user sub-flow (all steps are done on the server side)
Check if any required data is missing. If so - ask user to fill
missing data (more info in the URL at the top of the section).
1
sub-flow.
If not - store the new user in your database. The site
user ID (siteUID) you designate for the user in this step will be used in
the next step.
b
Link accounts sub-flow (all steps are done on the server side)
If the user has logged on from a social network that returns an
email address, he can choose to link the social account with his existing site
account (both share the same email address). He can also choose to cancel.
1
Please see:
http://developers.gigya.com/037_API_reference/020_REST_API/socialize.notify
Login
3
Using plug-ins to initiate login (plugin usage is done on the client side, actual login
procedure is server side)
Users should be able to login to your site via Gigyas plugins. To
implement this functionality, please follow this guide:
http://developers.gigya.com/010_Developer_Guide/10_UM360/080_Using_Plugi
ns_to_Initiate_Site_Login
1
When a user logs out from your site, it is important to notify Gigya
of the user's new state. Within your site logging out flow, please call the
socialize.logout API method.
1
User profiles
Relevant Gigya information and functionality will be embedded into the platforms user profile
page and management sections.
Guidelines:
Gigyas showAddConnectionsUI plugin will be embedded into the user profile
page, in order to display the users social identities. The plugins showEditLinks
property will be set to True, in order to allow the addition and removal of identities.
http://developers.gigya.com/020_Client_API/020_Methods/socialize.showAddConnectio
5
nsUI
Relevant Gamification info will be displayed as part of the profile page. See the
Gamification section.
When deleting a user profile from the platforms user management section, a call
will be sent to Gigyas deleteAccount API, in order to remove the account from Gigya
as well.
http://developers.gigya.com/037_API_reference/020_REST_API/socialize.deleteAccount
Sharing
The Gigya module will support 2 types of sharing: Sharing of a product/order (via the Share-bar
plugin) & action sharing of an order, or when adding to cart (shared via an API).
http://developers.gigya.com/010_Developer_Guide/60_Sharing
Guidelines:
The module would enable to embed a Share-bar plugin on every product and order
page. The Share-bars configuration would allow choosing which social network
buttons will be shown in it (shareButtons parameter). Clients would also be able to
choose where to position the bar.
http://developers.gigya.com/020_Client_API/020_Methods/socialize.showShare
BarUI
When the site recognizes that the user has added an item to his cart, or placed an order,
action sharing will be initiated and the user will be prompt with the advanced sharing
dialog. The Settings & Configuration page would enable to configure the dialogs
showAlwaysShare and showNeverShare parameters. If the order contains multiple
items, the first item will be shared
http://developers.gigya.com/020_Client_API/020_Methods/socialize.showShare
UI
The userAction object defines how the shared content will be shown on the
selected social networks (with consideration to open graph tags).
http://developers.gigya.com/020_Client_API/010_Objects/UserAction_object
pre-population may not fit the sharing intent. In such cases, the userAction data should be
overridden with the appropriate information. Title, Subtitle, Description,
LinkBack and Media Object should be set with relevant information.
When using the Share-bar from an order page, the Title of the userAction object should
mention the fact that the product was just ordered.
Reactions
The Reactions plugin allows users to react to content in your site and share their reaction to
6
social networks.
http://developers.gigya.com/020_Client_API/020_Methods/socialize.showReactionsBarUI
Guidelines:
A reaction bar will be displayed on every product page. Site owners can
disable/enable it by the configuration page.
The site owners will be able to configure the set of reaction buttons that will be
displayed on the Reactions bar. This is done by the Settings & Configuration page.
As with sharing, the userAction object controls the way information will appear
on social networks. See the Sharing section for more information.
Rating & Reviews
Gigyas Rating & Reviews plugins enable customers to rate, review products and comment on
others reviews. These can later be shared to social networks. The Reviews plugin is based on
Gigyas Comments plugin.
http://developers.gigya.com/010_Developer_Guide/18_Plugins/025_Rating_Reviews
http://developers.gigya.com/020_Client_API/020_Methods/socialize.showCommentsUI
Guidelines:
If the CMS features a reviews capability, the site owner will be able to define
Gigyas Rating & Reviews plugin to replace the generic functionality of the CMS.
http://developers.gigya.com/020_Client_API/020_Methods/socialize.showCom
mentsUI
The site will be able to use the Gigya Rating plugin instead of the generic CMS rating UI.
http://developers.gigya.com/020_Client_API/020_Methods/socialize.showRatingUI
Gigyas functionality will integrate with the existing Ratings & Reviews behavior of the
platform. e.g. if the platform allows to sort/search by rating, it will now be possible to do
this by Gigya rating.
The Comments streamID will be unique per every product on the site.
Each comment posted via the Gigya plugin, will also be saved via the generic
commenting system of the CMS.
The admin will need to setup a Comments category on Gigyas site settings
(see
http://developers.gigya.com/010_Developer_Guide/18_Plugins/025_Rating_Reviews#Set
ting_up_a_New_Comment_Category) and define the Comments category in the
modules Settings & Configuration page.
Permissions for posting comments are set in Gigyas site settings (see
http://platform.gigya.com).
Activity Feed
Gigyas Activity Feed plugin displays recent user activity on the clients website. Users can
display their own activity, friends activity or everyones activity. Display is subject to privacy
settings.
http://developers.gigya.com/010_Developer_Guide/18_Plugins/060_Activity_Feed_Plugin
Guidelines:
The plugin will be displayed on the front-page of the store.
The site admin will be able to configure which plugins would share to the Activity Feed
(i.e. controlling the plugins scope parameter) and control the privacy settings (i.e.
privacy parameter). See the Settings & Configuration section.
Gamification
Gigyas Gamification plugins will be displayed on the users profile page, showing the users
achievements and driving him them engage in more site activity.
http://developers.gigya.com/010_Developer_Guide/40_Gamification
Guidelines:
The User status and Achievements plugins will be embedded by default in the user
profile page:
http://developers.gigya.com/010_Developer_Guide/18_Plugins/035_Game_Mechanics_P
lugins
The Leader board plugin should be embedded on the store-front by default.
The site admin should be able to further customize the experience by placing any
of the plugins on any page he wishes to use them on his website.
The Notifications plugin is used to enable display of game notifications on every store
page. This is done by putting the gm.showNotifications API on every pages <body>
section.
http://developers.gigya.com/010_Developer_Guide/18_Plugins/035_Game_Mechanics_P
lugins/Notifications#quick_start_implementation
These plugins may be turned on or off via the Settings & Configuration page (see the
Settings & Configuration section).
Other settings for Gamification will be controlled via Gigyas site
(http://platform.gigya.com).
http://developers.gigya.com/010_Developer_Guide/40_Gamification
Basic configuration (Global Conf.)
Gigyas basic configuration is based on a JSON object that sets global Gigya variables before
loading all additional Gigya functionality. This allows these variables to be used within the
different Gigya features.
http://developers.gigya.com/020_Client_API/010_Objects/Conf_object
Guidelines:
This object should be called from every web pages head section and only once.
The actual settings that are defined by this object will be set by the site admin
within the modules Settings & Configuration page. Please see the next section for further
info.
Set Gigya API (APIkey parameter) and Secret key (for usage on REST calls)
Set global list of providers (list of social networks to allow sharing with) enabledProviders setting
Sharing:
9
http://developers.gigya.com/010_Developer_Guide/60_Sharing
1
General settings:
Enable sharing to activity feed - controlling the
shareButtons (default = share,email,pinterest,twitter-tweet,googleplusone,facebook-like; pay attention to the fact that Pintrest requires
adding an image to the userAction object)
Share-bar layout - layout parameter (default =
horizontal)
Share-bar counter configuration - showCounts
parameter (default = *)
Show Always share checkbox on share dialogs -
10
Site name
Privacy level - will be set the privacy parameter globally for all relevant plugins
(default = private). APIs that are effected by this setting: showCommentsUI,
showReactionsBarUI and showShareUI
Gamification:
http://developers.gigya.com/010_Developer_Guide/18_Plugins/035_Game_Mechanics_P
lugins
1
User data mapping (if supported by the CMS ) - map the Gigya user object
fields to the CMS supported fields. Should be considered on a per CMS system
basis.
Allowing site owners to further customize Gigya functionality than is offered by the
module:
1 Through defining global conf object parameters (affect all Gigya plugins) by a
JS code http://developers.gigya.com/020_Client_API/010_Objects/Conf_object
2 Through overriding the default parameters per plugin, by entering the params JS
code
Login plugin
http://developers.gigya.com/020_Client_API/020_Methods/Socialize.sho
wLoginUI
Share bar plugin
http://developers.gigya.com/020_Client_API/020_Methods/socialize.show
ShareBarUI
Reviews plugin
http://developers.gigya.com/020_Client_API/020_Methods/socialize.show
CommentsUI
Ratings plugin
http://developers.gigya.com/020_Client_API/020_Methods/socialize.show
RatingUI
12
Developer Resources
Gigya developer documentation: http://developers.gigya.com/
Server side SDKs (PHP, .NET, JAVA): http://developers.gigya.com/030_Server_SDKs
Client side API reference: http://developers.gigya.com/020_Client_API/020_Methods
Demo site (downloadable code):
http://developers.gigya.com/010_Developer_Guide/95_Demo_Site
Debugging tools: http://developers.gigya.com/010_Developer_Guide/90_Developer_Tools
13