Google updated their Analytics code from their former Urchin script (urchin.js) to their own Google Analytics (gs.js) that now allows to track:
- Site Search (e.g EE site search)
- Events (e.g file downloads) (still in closed beta Jan.11.2008)
| <?php | |
| namespace modules\datatypes; | |
| use craft\feedme\datatypes\Json; | |
| use illuminate\Support\Collection; | |
| class CustomJsonDatatype extends Json | |
| { | |
| /** | 
| <?php | |
| use Craft; | |
| use craft\base\Plugin; | |
| use craft\elements\Asset; | |
| use craft\events\GenerateTransformEvent; | |
| use craft\events\RegisterComponentTypesEvent; | |
| use craft\services\ImageTransforms; | 
| module.exports = { | |
| root: true, | |
| env: { | |
| node: true, | |
| }, | |
| parserOptions: { | |
| parser: "babel-eslint", | |
| }, | |
| settings: { | |
| 'import/resolver': 'webpack', | 
| <div class="island island--light"> | |
| <div class="wrapper"> | |
| <div class="cell-v30"> | |
| <div class="g"> | |
| <div class="g__col | |
| g__col--12 | |
| g__col--7--medium g__col--center--medium"> | |
| <div class="island cell-40 rule rule--all rule--grey"> | |
| {% include '_includes/body' %} | |
| </div> | 
| #!/bin/bash | |
| # Execute via: ./set-project-perms.sh PROJECT_NAME | |
| # The paradigm is the entire project dir is owned by $CHOWN_USER with the group set to $CHOWN_GROUP | |
| # $CHOWN_USER is an admin or user account that is used to edit files/templates, etc. | |
| # $CHOWN_GROUP is the group of the webserver (e.g.: 'apache', 'nginx', 'httpd', etc.) | |
| # The project dir permissions are set to 755 (-rwxr-xr-x) for directories and to 644 (-rw-r--r--) for files | |
| # The permissions to $DIRS[] that need to be writeable are set to 775 (-rwxrwxr-x) for directories and | |
| # 664 (-rw-rw-r--) for files. Add any assets directories, etc. as necessary. | |
| # Change $BASE_DIR to the absolute path where your websites are stored (leaving it appended with '/$1') | 
| // Declare colours | |
| $_color-base-grey: rgb(229,231,234); | |
| $palettes: ( | |
| purple: ( | |
| base: rgb(42,40,80), | |
| light: rgb(51,46,140), | |
| dark: rgb(40,38,65) | |
| ), | |
| grey: ( | |
| base: $_color-base-grey, | 
| sass/ | |
| |- _config.scss | |
| |- site.scss | |
| |- site--ie8.scss | |
| \- modules/ | |
| \- _widget.scss | |
| git log -n1 | cut -c6-12 | pbcopy | 
| var $dateTime = new DateTime(); | |
| $dateTime->setTimezone(new DateTimeZone('America/New_york')); | |
| $dateTime->setTimestamp(time()); | |
| $isDst = (bool)$dateTime->format('I') ? "y" : "n"; | |
| $conf['daylight_savings'] = $isDst; | 
Google updated their Analytics code from their former Urchin script (urchin.js) to their own Google Analytics (gs.js) that now allows to track: