Skip to content

Instantly share code, notes, and snippets.

ga('create', 'UA-1122853-4', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['recurringrevenue.com'] );
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '[tracking_id]', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['holstee.com'] );
ga('send', 'pageview');
<p style="font-size: 16px;">
<a target="_blank" href="paste link here">
<i class="icon-calendar"></i> Add to calendar.</a></p>
@daverad
daverad / Groupon2Shopify.iim
Created October 13, 2011 23:43
The Goal: I needed a way for us to quickly import the hundreds of Groupon codes into our Shopify site. My Solution: Use iMacros for FireFox to read in the Groupon CSV and automate the process of creating Shopify discount codes.
VERSION BUILD=7000908
'Use groupon csv to automatically create discount codes in shopify.
'####################### ENTER YOUR SETTINGS BELOW #############################
'What is your shopify store name yourshopname.myshopify.com
SET !VAR1 https://fortunecookiesoap.myshopify.com
'How much is your discount? for a $15 discount enter 15
SET !VAR2 15