Skip to content

Instantly share code, notes, and snippets.

@bogdan
Created October 21, 2015 15:14
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 bogdan/84374a2326e93a4d0666 to your computer and use it in GitHub Desktop.
Save bogdan/84374a2326e93a4d0666 to your computer and use it in GitHub Desktop.
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<!-- Begin Curebit integration code -->
<h1 align="center" style="margin: 20px 0; padding: 20px 0; width:100%; height: 30px; background-color: red;">
site header
</h1>
<p>
Lorem ipsum dolor sit amet, consectetur magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
</p>
<p>
Lorem ipsum dolor sit amet, consectetur magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
</p>
<p>
Lorem ipsum dolor sit amet, consectetur magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
</p>
<div id='zz'></div>
<div id='qq'></div>
<script>
//<![CDATA[
var _curebitq = _curebitq || [];
_curebitq.push(['init', {
site_id: 'bogdan', // REQUIRED - Curebit Site ID
server: 'http://localhost:3000' // OPTIONAL - Use your own domain (enterprise only)
}]);
_curebitq.push(['register_affiliate', {
iframe: { // REQUIRED - html attributes for iframe tag to fit page design
width: "100%", // REQUIRED - width of the iframe
height: "100%", // REQUIRED - height of the iframe
frameborder: 0, // OPTIONAL - removes border from IE
container: 'zz',
style: "position: absolute; top: 0; left: 0; z-index: 10000"
},
trigger_widget: {
style: "position: absolute; top: 0; left: 0;",
width: 100,
height: 50,
container: 'qq',
responsive: false
},
responsive: true,
affiliate_member: { // OPTIONAL - curebit will ask person to signup
// in case when his email is not given by merchant
//email: "customer@example.com", // OPTIONAL - customer email
},
campaign_tags: ['test'] // OPTIONAL - campaign tags for offer targeting
}])
//]]>
</script>
<script src="file:///Users/bogdan/makabu/allan/integration/dist/talkable.js" type="text/javascript"></script>
<h1 align="center" style="margin: 20px 0; padding: 20px 0; width:100%; height: 30px; background-color: red;">
site footer
</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment