Once you have Segment installed on your site, toggle elevio from your Segment integrations page, and add your account ID which you can find on your elevio widget settings page.
elevio supports the identify method to provide extra user information.
| <div class="md:mb-20 md:rounded overflow-hidden bg-white shadow-md text-grey-darkest"> | |
| {{#if featured_image}} | |
| <a href="{{ link }}" class="hidden md:block"><img src="{{ featured_image }}" alt="{{ title }}" class="w-full" /></a> | |
| {{/if}} | |
| <div class="md:p-24 p-8"> | |
| <span class="no-underline text-grey text-sm" title="{{ release.released_at }}">{{ released_at_human }}</span> | |
| <h2 class="mb-4 font-serif"><a href="{{ link }}" class="no-underline text-grey-darkest"><span class="capitalize release-{{ type }}">{{ type }}:</span> {{ title }}</a></h2> | |
| {{#each tags}} |
| <?php namespace Elevio\Commands; | |
| use Illuminate\Console\Command; | |
| use Symfony\Component\Console\Input\InputOption; | |
| class GitVersion extends Command | |
| { | |
| /** | |
| * The console command name. |
| // this is in app/Exceptions/Handler.php | |
| // rollbar/rollbar installed via composer | |
| public function report(Exception $e) | |
| { | |
| if (!Config::get('app.debug') && $e->getStatusCode() != '404') { | |
| $conf = [ | |
| 'access_token' => Config::get('services.rollbar.access_token'), | |
| 'environment' => App::environment(), |
| # -*- coding: utf8 -*- | |
| import json | |
| import urllib2 | |
| import urllib | |
| import sys | |
| import os | |
| from argparse import ArgumentParser | |
| from collections import defaultdict |
| <?php | |
| // Adding this to your app/artisan.php file will | |
| // do a quick confirmation that you really do want | |
| // to run this command when in production environment | |
| if (App::environment() === 'production') { | |
| echo "\033[0;33m======== WARNING ========\n"; | |
| echo "===== IN PRODUCTION =====\n"; | |
| echo "=========================\n"; |
| var gulp = require('gulp'); | |
| var sass = require('gulp-sass'); | |
| var minifycss = require('gulp-minify-css'); | |
| var autoprefixer = require('gulp-autoprefixer'); | |
| var phpunit = require('gulp-phpunit'); | |
| var notify = require('gulp-notify'); | |
| var gutil = require('gulp-util'); | |
| var exec = require('child_process').exec; | |
| var sys = require('sys'); | |
| var livereload = require('gulp-livereload'); |
| $all_ever = \VentureCraft\Revisionable\Revision::where('revisionable_type', 'post') | |
| ->where('key', 'blog_title') | |
| ->orderBy('id', 'asc') | |
| ->get(); |
| <?php | |
| class BaseController extends Controller | |
| { | |
| /** | |
| * Setup the layout used by the controller. | |
| * | |
| * @return void | |
| */ |
| $('.unlock-btn').live('click', function(){ | |
| $(this).closest('.btn-group').find('.btn-danger').toggleClass('disabled'); | |
| $(this).find('i').toggleClass('icon-lock').toggleClass('icon-unlock'); | |
| }); |