Basic generated JavaScript code<script src="http://www.google.com/jsapi"></script> <script> google.load("jquery", "1.3.2"); </script> <script src="http://static.senzoo.net/jquery.senzoo.min.js"></script> <script> $(document).ready(function(){ $.senzoo_init({sid: '4b690d5e8ead0ebb28010000'}); $.senzoo(); }); </script> If you're using jQuery already, you don't need top four lines. Senzoo script is behaving like jQuery plugin. API Reference $.senzoo_init()Call once per page before call $.senzoo. Parameter should be Object. | key | value | default | comment | | sid | hex digits
| | Site(host) ID. Unique in Senzoo database. You can see it on your dashboard. Required.
| | uid | mixed | null | Accessed user ID. Input by site owner. Should be unique (sid, uid) in Senzoo database. If uid doesn't set anything, Senzoo will generate an unique ID for each user.
| $.senzoo()Choose how to display Senzoo to your visitors. | key | value
| default
| comment
| domid
| string
| null
| Senzoo will be displayed in $('#' + domid). if it's null Senzoo will appear at $('body > *:first').before() | prices
| array
| [0.5, 2, 5, 'open']
| You can specify up to three actual prices, and 'open' is for an editable price. | currency
| string
| USD
| Currently supports only "USD". | title
| string
| senzoo
| Title for notification window. Up to 140 characters. | description
| string
| senzoo description
| Description for notification window. Up to 280 characters. | close
| string
| close
| A word for close button. | checkout_with
| string
| <p><small>Checkout with:</small></p>
| Some words for checkout. | always_show_main_div
| bool
| false
| If set to TRUE, Senzoo will be displayed as full contents the first time it is displayed.
| beforeClose
| function
| null
| This function will be called before Senzoo notification window close. | beforeOpen
| function
| null
| This function will be called before Senzoo notification window open. | how_to_appear
| string
| slideDown
| slideDown/fadeIn (see jQuery Effects) | how_to_appear_argument
| string
| slow
| slow/fast | how_to_disappear
| string
| slideUp
| slideUp/fadeOut (see jQuery Effects) | frequency
| int
| 30
| 0 means Senzoo notification window will show every time site is accessed. 1 means Senzoo will show once every 1 days (regardless of # of site visits that day). 30 means Senzoo will show once every 30 days.
| | theme | string | wide | wide / facebook / growl / stick |
Can't see Senzoo?
$.senzoo({frequency:0}); displays Senzoo notification window every access. It might help on your test environment. |