Skip to content

Instantly share code, notes, and snippets.

View equijada001's full-sized avatar

Erick Quijada equijada001

  • The Engage Group
View GitHub Profile
@equijada001
equijada001 / gist:4204524
Created December 4, 2012 14:33
Convio conversion tracking - strip out '$'
[[E130:"[[S120:dc:giftAmount]]" "$" "" replaceall]]
@equijada001
equijada001 / Convio Conversion Tracking
Created December 3, 2012 21:57
Conversion tracking code, removes the the '$' symbol in front of the donation amount. Replace site ID and product name.
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol ) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try{
var pageTracker = _gat._getTracker("UA-353912-1");
pageTracker._trackPageview();
pageTracker._addTrans(
'[[S120:dc:transactionID]]',
@equijada001
equijada001 / Facebook Share Code
Created September 12, 2012 21:39
Code snippet to determine page name, summary, and image in Facebook share link
http://www.facebook.com/sharer.php?s=100&p[title]=titlehere&p[url]=http://www.yoururlhere.com&p[summary]=yoursummaryhere&p[images][0]=http://www.urltoyourimage.com