Skip to content

Instantly share code, notes, and snippets.

@qnm
Last active December 15, 2015 12:28
Show Gist options
  • Save qnm/5259944 to your computer and use it in GitHub Desktop.
Save qnm/5259944 to your computer and use it in GitHub Desktop.
<div id="my-table"></div>
<script type="text/javascript">
function ratecityConfig() {
// product request configuration
var config ={
vertical: 'credit-cards',
stylesheet: "//www.ratecity.com.au/assets/widget.css",
container: 'my-table',
limit: 5,
disclaimer: 'Your disclaimer here',
// track links in GA using the code below
// note, this is for _your_ tracking, not for RateCitys
tracking: function(product) {
_gaq.push(['_trackEvent', 'Leads', 'RateCity', 'BestBuyHomeLoan|GotoSite|' + product.company.name + '|' + product.description]);
}
};
return config;
};
</script>
<script language="JavaScript" src="//www.ratecity.com.au/assets/widget-no-jquery.js" type="text/javascript"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment