Daily Recipe - Gigya Demo Site Home Current API key:
Not Set
The current API Key entered is:


Enter A New API Key :

- or -
  Revert to the Raas-Demo default API Key? (You will be logged out).

Note: Once the site's API Key is changed, the native site login will not function, as it uses custom (non-default) screen-sets. To test screen-sets for the new API Key, please select the Screen-Sets option from the View or Edit Gigya Add-ons drop-down menu.







Collection ID:
  Raas-Demo        Default        Custom:   

screenSet:

dialogStyle:

deviceType:

lang:



Most parameters relating to the Loyalty add-on regard the way the widget presents on the site and are set up in the Gigya console.
showCommentButton:

showReadReviewsLink:

hideShareButtons:

showLoginBar:

Show Counts:

layout:

noButtonBorders:

Show Counts:

Show iconsOnly:

layout:

noButtonBorders:

operationMode:

Share Button Type:

     Facebook
     Twitter
     Google+
     LinkedIn
     Microsoft
     Digg
     Share More

deviceType:

showLoginBar:

Gigya Demo Site Signals Data
Signals Data Description:
Gigya's Demo Site is configured to use Signals for tracking numerous user actions as they occur.

Gigya, by default, tracks a number of different interactions automatically. A few of these Signals are Shares, Loyalty Level Ups, and Reactions.

Gigya has another built-in Signal called _pageviews. This Demo site is set up to track these _pageviews across the site's 3 recipe pages.

To see how many times you have performed any of the tracked actions, be sure you are logged in, and click the Get My Stats button below.

To view the code used in this demo, click the ‍ icon of the corresponding section.

To close this window and log in, click below.

You can also use Signals to track other events that occur on your site. You can either do this by using the _pageviews counters and attaching them to non-active pages, e.g., /leftButtonClicked.html, or by creating custom counters with a unique class.
To see how you can track a button click using a custom Signals class, see the section to the right labeled Custom Counter.

Your Stats:‍
waiting...
Times you have logged in to gigyademo.com: No Data
Times you have visited the Recipe Of The Day page: No Data
Times you have visited the Our Favorite page: No Data
Times you have visited the Most Popular page: No Data
Total Comments made on gigyademo.com: No Data
Total Loyalty levels advanced on gigyademo.com: No Data
Total Reactions submitted on gigyademo.com: No Data
Total Clickbacks accumulated on gigyademo.com: No Data
Total items Shared on gigyademo.com: No Data
Total Purchases completed on gigyademo.com: No Data
Total pages you have visited on gigyademo.com: No Data
Total Custom Button Clicks on gigyademo.com: No Data

Custom Counter:‍
To try Custom Counters, click the button below labeled Increment. Each time you press it will be calculated on Gigya's server.

In order to see results you must be logged in and then press the Get My Stats button to refresh all current stats.

You will find the Custom Button counter at the bottom of the above list.
Server Response: ‍
Signals Documentation      
Live Code Example
Live Code Example
Live Code Example
Signals={};
Signals.ccb=function(response) {
     if ((typeof(response.counters.length) !=='undefined') && (response.counters.length>0)) {
         console.warn('missing param: Signals.get() prefers a callback; ex. Signals.get(myCallback)');
         console.log(response.counters);
     }
};
Signals.get=function(Callback) {
     if (typeof(Callback)==='undefined') {
         Callback=Signals.ccb;
     }
     gigya.accounts.getCounters({
         callback: Callback
     })
};
countersCb=function(response) {
     countersCbObjStr="You are either not logged in or there is currently no data available for your UID. Please close this dialog to login and visit the Recipe pages.";
     if ((typeof(response.counters) !== 'undefined') && (response.counters.length>0)) {
         countersCbObj=response.counters;
         countersCbObjStr=JSON.stringify(countersCbObj, null, 2);
     }
         document.getElementById('requestResponseArea3').innerHTML=countersCbObjStr;
     }
$(document).on("click", "#signalsGetStatsBtn1", function() {
     Signals.get(countersCb);
}
Signals={};
Signals.post=function(Class,Path) {
     if ((typeof(Class) !== 'undefined') && (typeof(Path) !== 'undefined')) {
         gigya.accounts.incrementCounters(
             {
                 counters: [{
                     'class': Class,
                     'path': Path
                 }]
             }
         );
         console.log('incrementCounters fired.')
         } else {
             console.warn('missing params: Signals.post requires a Class and Path parameter in the format - Signals.post(\'myClass\',\'/somePath\')');
         }
     }
$(document).on("click", "#signalsGetStatsBtn3", function() {
     Signals.post('testcountersclass','/');
});
Signals={};
Signals.parser={};
Signals.parser.get=function(Callback) {
     if (typeof(Callback) !=='undefined') {
         if (gigyaPlugins.helpers.isLoggedIn()===true) {
             gigya.accounts.getCounters({callback: Callback})
         }
     }
     else {
         console.warn('missing param: Signals.parser.get() requires a callback; ex. Signals.parser.get(myCallback)');
     }
}
function fixSignalsNumbers() {
     if (typeof(signalsCurrentUserLogins) !=='undefined') {
         document.getElementById('inLineLogins').innerHTML=signalsCurrentUserLogins;
     }
     if (typeof(signalsCurrentUserRecipe1) !=='undefined') {
         document.getElementById('inLineROTD').innerHTML=signalsCurrentUserRecipe1;
     }
     if (typeof(signalsCurrentUserRecipe2) !=='undefined') {
         document.getElementById('inLineFavorite').innerHTML=signalsCurrentUserRecipe2;
     }
     if (typeof(signalsCurrentUserRecipe3) !=='undefined') {
         document.getElementById('inLinePopular').innerHTML=signalsCurrentUserRecipe3;
     }
     if (typeof(signalsCurrentUserTotalPages) !=='undefined') {
         document.getElementById('inLineTotal').innerHTML=signalsCurrentUserTotalPages;
     }
     if (typeof(signalsCurrentUserComments) !=='undefined') {
         document.getElementById('inLineComments').innerHTML=signalsCurrentUserComments;
     }
     if (typeof(signalsCurrentUserGMLevelUps) !=='undefined') {
         document.getElementById('inLineGMLevels').innerHTML=signalsCurrentUserGMLevelUps;
     }
     if (typeof(signalsCurrentUserReactions) !=='undefined') {
         document.getElementById('inLineReactions').innerHTML=signalsCurrentUserReactions;
     }
     if (typeof(signalsCurrentUserClickbacks) !=='undefined') {
         document.getElementById('inLineClickbacks').innerHTML=signalsCurrentUserClickbacks;
     }
     if (typeof(signalsCurrentUserShares) !=='undefined') {
         document.getElementById('inLineShares').innerHTML=signalsCurrentUserShares;
     }
     if (typeof(signalsCurrentUserPurchases) !=='undefined') {
         document.getElementById('inLinePurchases').innerHTML=signalsCurrentUserPurchases;
     }
     if (typeof(signalsCurrentUserTestCounters) !=='undefined') {
         document.getElementById('inLineTestCounters').innerHTML=signalsCurrentUserTestCounters;
     }
}
Signals.parser.callback = function(response) {
     var countersResponse = response.counters;
     window['Signals.countersLength'] = countersResponse.length;
     console.log(countersResponse.length);
     window['Signals.userCounters'] = countersResponse;
     for (i=0; i < countersResponse.length; i++) {
         window['signalsCurrentUsercounters' +i] = {
             'class': countersResponse[i].class,
             'path': countersResponse[i].path,
             'value': countersResponse[i].value,
             'count': countersResponse[i].count
         };
         if (countersResponse[i].path=='/userlogins.php') {
             window['signalsCurrentUserLogins'] = countersResponse[i].count;
         }
         if (countersResponse[i].path=='/recipe1.php') {
             window['signalsCurrentUserRecipe1'] = countersResponse[i].count;
         }
         if (countersResponse[i].path=='/recipe2.php') {
             window['signalsCurrentUserRecipe2'] = countersResponse[i].count;
         }
         if (countersResponse[i].path=='/recipe3.php') {
             window['signalsCurrentUserRecipe3'] = countersResponse[i].count;
         }
         if ((countersResponse[i].path=='/') && (countersResponse[i].class=='_pageviews')) {
             window['signalsCurrentUserTotalPages'] = countersResponse[i].count;
         }
         if ((countersResponse[i].path=='/') && (countersResponse[i].class=='_comments')) {
             window['signalsCurrentUserComments'] = countersResponse[i].count;
         }
         if ((countersResponse[i].path=='/') && (countersResponse[i].class=='_gmlevelups')) {
             window['signalsCurrentUserGMLevelUps'] = countersResponse[i].count;
         }
         if ((countersResponse[i].path=='/') && (countersResponse[i].class=='_reactions')) {
             window['signalsCurrentUserReactions'] = countersResponse[i].count;
         }
         if ((countersResponse[i].path=='/') && (countersResponse[i].class=='_clickbacks')) {
             window['signalsCurrentUserClickbacks'] = countersResponse[i].count;
         }
         if ((countersResponse[i].path=='/') && (countersResponse[i].class=='_purchases')) {
             window['signalsCurrentUserPurchases'] = countersResponse[i].count;
         }
         if ((countersResponse[i].path=='/') && (countersResponse[i].class=='_shares')) {
             window['signalsCurrentUserShares'] = countersResponse[i].count;
         }
         if ((countersResponse[i].path=='/') && (countersResponse[i].class=='testcountersclass')) {
             window['signalsCurrentUserTestCounters'] = countersResponse[i].count;
         }
         fixSignalsNumbers();
     } //end for
} //end Signals.parser.callback
$(document).on("click", "#signalsGetStatsBtn1", function() {
     Signals.parser.get(Signals.parser.callback);
     document.getElementById('signalsInlineStatusBlock').style.display='block';
     document.getElementById('inLineTestCountersLine').style.display='block';
     document.getElementById('signalsInlineStatusBlockWaiting').style.display='none';
});
Open Security Center
Gigya Demo Site - Security Center
View the last 10 login attempts for my account.




Login Attempts Over The Last 6 Months

Welcome to the demo site of the SAP Customer Data Cloud from Gigya.

The Daily Recipe site is a demo site written in PHP and JavaScript. This demo outlines how to make a website integrating Gigya's platform.

The demo site's code is available for you to download. Learn about the site implementation here.

Ratings and Reviews