Social Login JScript API

Written By Devin O'Neill ()

Updated at April 24th, 2025

Introduction

This document provides the comprehensive guidelines for adding the Social Login code on the Retailer’s website to manage the Social Login module experience.

Defaults

Client Secret Key: Annex Cloud will provide the Client Secret Key

Site ID: Annex Cloud will provide the Site ID for Secret Key

Secret Key: Annex Cloud will provide the Secret Key (required for sale tracking)

Implementation Instructions

  1. JavaScript
    Place the following JavaScript on web pages where you wants to display the Social Login icons.
     <script type=”text/javascript”> 
     (function(d){ var js, id='socialannex-s13', ref = 
    d.getElementsByTagName('script')[0]; if 
    (d.getElementById(id)) {return;} 
     js = d.createElement('script'); js.id = id; js.async = true; js.src = "//cdn.socialannex.com/partner/ENTER_SITE_ID/s13.js"; ref.parentNode.insertBefore(js, ref); 
     }(document)); 
     </script>