Skip to content

Instantly share code, notes, and snippets.

@maxidr
Created May 22, 2015 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxidr/3fb23437453db9519941 to your computer and use it in GitHub Desktop.
Save maxidr/3fb23437453db9519941 to your computer and use it in GitHub Desktop.
Code snippet to paste in external sites
<script type="text/javascript">
(function(e,t,n){var r,a,c="script";e.gigwell=e.gigwell||{},r=t.createElement(c),
a=t.getElementsByTagName(c)[0],r.async=1,r.src=n,a.parentNode.insertBefore(r,a)
})(window,document,'https://static.bookongigwell.com/booking-widget.min.js');
gigwell.agencyId = 'x81998c8j812'; // Required
gigwell.artistId = '821x988122d'; // Optional
// optional
gigwell.onBooking = function(bookindData){
// Your behaviour that will execute when the booking is submitted
}
</script>
<!-- When support custom tags -->
<gigwell:button></gigwell:button>
<!-- When not support custom tags -->
<div class='gigwell-booking'></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment