A Dashing widget for displaying the number of visitors to your website over a specified timeframe, as reported by Google Analytics
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |
<script type="text/javascript"> | |
window.nrlskOnEvent = function(padiact) | |
{ | |
if (padiact.type=='subscribe') | |
{ | |
window.location = "http://yourwebsite.com/newpage.html"; | |
//change http://yourwebsite.com/newpage.html to the page you want to redirect when people subscribe | |
} | |
} | |
</script> |
<script type="text/javascript"> | |
window.nrlskOnEvent = function(padiact) | |
{ | |
if (padiact.type=='subscribe') | |
{ | |
// here should go the code that you want PadiAct to trigger when somebody subscribes | |
// the email address of the subscriber is available and url encoded: e.g. user%40gmail.com | |
// example: | |
console.log (padiact.email+' subscribed through PadiAct'); | |
// available vars: |
This is a fork of the Google Analytics Website Visitor Count Widget for Dashing with OAuth2 Authentication to allow for multiple profiles to be shown in the same widget.
A Dashing widget for displaying the number of visitors to your website over a specified timeframe, as reported by Google Analytics
<?php | |
/** | |
* Perform a multi-request to the Toggl API | |
* @param String $url The API URL you are requesting | |
* @param String $method HTTP Request Method (should be 'GET') | |
* @param Array $tokens An array of Toggl API Tokens and names | |
* @return Array An array of Time Entries | |
*/ | |
function multiRequest($url, $method, $tokens) { |
#!/usr/bin/env python | |
import sqlite3 | |
class dbopen(object): | |
""" | |
Simple CM for sqlite3 databases. Commits everything at exit. | |
""" | |
def __init__(self, path): | |
self.path = path |
#Ntile Widget# A Dashing widget that shows numbers in statistical context. This widget is also available in a GitHub Repository.
##Description## A Dashing widget (and an associated job) that will take any set of timestamped data, divid that data by day (or any other unit of time) and compare those units of time, and displays the current day in statistical context of previous days. It currently has three modes of operation Quartile, Quintile and Percentile (hench 'N'tile). The code is designed to take in a variety of data sources. Examples include:
- Display number of new users your app has attracted this week compared to previous weeks.
- Display how many customer service tickets have been closed by an individual employee today in the cont
<div class="padiOverlay" style="display: block;"> | |
<div class="padiPop4Wrap" style="display: block;"> | |
<div class="padiPop4Overlay" > | |
<div class="padiPopupContent" > <a href="#" class="padiClose" title="Close" style="display:block;" >×</a> | |
<div class="padiContent" style="display:block"> | |
<h1 class="padiTitle"> | |
<!-- any TEXT can go from here --> |
A Dashing widget for displaying the number of current visitors (in real time) to your website, as reported by Google Analytics.
This widget is a fork of https://gist.github.com/mtowers/5986576