This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Shopify Checkout Hack | |
* | |
* This scipt helps to modify the Shopify Checkout Pages. To run this script, add your | |
* code for each checkout step, compress your code with a tool of your choice and paste | |
* it to: | |
* | |
* Admin > General > Google Analytics > Additional Google Analytics Javascript | |
* | |
* @author Christoph Vieth <[email protected]> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
/** | |
* Spintax - A helper class to process Spintax strings. | |
*/ | |
class Spintax | |
{ | |
/** | |
* Set seed to make the spinner predictable. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* 1. create project at https://console.developers.google.com/project | |
* 2. enable 'Analytics API' under 'APIs & auth' / APIs | |
* 3. create 'NEW CLIENT ID' (OAuth client) under 'APIs & auth' / Credentials | |
* i. select 'Service account' | |
* ii. save generated key file to 'key.p12' | |
* iii. remember CLIENT ID | |
* 4. under GA account add 'Read & Analyze' access to newly generated email (access to GA Account not Property nor View) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id='video-container'> | |
<div class='vzaar_media_player'> | |
<object data='http://view.vzaar.com/1080935/flashplayer' height='324' | |
id='video' type='application/x-shockwave-flash' width='576'> | |
<param name='allowFullScreen' value='true' /> | |
<param name='allowScriptAccess' value='always' /> | |
<param name='wmode' value='transparent' /> | |
<param name='movie' value='http://view.vzaar.com/1080935/flashplayer' /> | |
<param name='flashvars' value='apiOn=true&colourSet=grey&colourBg=#ffffff&border=none&socialSharing=0,0,0' /> | |
<video controls='' height='324' id='vzvid' onclick='this.play();' poster='http://view.vzaar.com/1080935/image' |