One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
<script> | |
// Script to retrieve donation_KEY and amount from the URL and send | |
// them to Google Anaylitics eCommerce. | |
// See https://salsasupport.zendesk.com/entries/98811317 | |
var m = /donation_KEY=(\d+)/.exec(window.location.search); | |
var donation_KEY = (m != null) ? donation_KEY = m[1] : 'Unknown'; | |
var m = /amount=(\d+)/.exec(window.location.search); | |
var amount = parseFloat(window.location.href.split("amount=")[1].split('&')); | |
(function(i, s, o, g, r, a, m) { |
One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.