Skip to content

Instantly share code, notes, and snippets.

View nikunjkotecha's full-sized avatar

Nikunj Kotecha nikunjkotecha

View GitHub Profile
@nikunjkotecha
nikunjkotecha / adRinger JS Code Example
Created December 19, 2014 14:01
adRinger JS Code Example
<!-- adRinger JS library -->
<script type = "text/javascript" src= "http://prod-test-1.callsrv.in/callsrv.js?ver=1.0" ></script>
<script type = "text/javascript" >
/* JSON object to define Parameters for reporting */
var params= {'customparam1' : 'customvalue1', 'customparam2' : 'customvalue2'};
var settings = {
"params" : params, // Optional, Custom parameters(in JSON format), Type : String, Default : null
"replace" : "my-id", // Optional, ID of HTML element to replace Number in that element once number is assigned, Type : String, Default : null
@nikunjkotecha
nikunjkotecha / adRinger JS Code Example
Created December 19, 2014 13:57
adRinger JS Code Example
<!-- adRinger JS library -->
<script type = "text/javascript" src= "http://prod-test-1.callsrv.in/callsrv.js?ver=1.0" ></script>
<script type = "text/javascript" >
/* JSON object to define Parameters for reporting */
var params= {'customparam1' : 'customvalue1', 'customparam2' : 'customvalue2'};
var settings = {
"params" : params, // Optional, Custom parameters(in JSON format), Type : String, Default : null
"replace" : "my-id", // Optional, ID of HTML element to replace Number in that element once number is assigned, Type : String, Default : null
@nikunjkotecha
nikunjkotecha / adRinger JS Code
Last active August 29, 2015 14:11
adRinger JS Code Format
<!-- adRinger JS library -->
<script type="text/javascript" src="http://<<advertiser_code>>.callsrv.in/callsrv.js?ver=1.0"></script>
<script type="text/javascript">
/* JSON object to define Parameters for reporting */
var params= {'customparam1' : 'customvalue1', 'customparam2' : 'customvalue2'};
var settings = {
"params" : params, // Optional, Custom parameters(in JSON format), Type : String, Default : null
"replace" : "my-id", // Optional, ID of HTML element to replace Number in that element once number is assigned, Type : String, Default : null
"callback" : "callback", // Optional, Custom Callback function, Type : String, Default : null