# POST many events
$ curl https://api.keen.io/3.0/projects/<PROJECT_ID>/events \
-H 'Authorization: <WRITE_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"purchases": [
{
"item_id": "f9802334-23423",
"customer": "[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
function _go(f){/in/.test(document.readyState)?setTimeout('_go('+f+')',9):f()} | |
_go(function(){ | |
var COOKIE_KEY = "COOKIE-ID", | |
COOKIE_EXP = undefined, // 1000*60*60*24*365, | |
IS_KNOWN = false; | |
var CurrentSession = {}, | |
wpMeta = WP_META || {}, | |
interval; | |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="http://d26b395fwzu5fz.cloudfront.net/keen-tracking-1.0.1.js"></script> | |
</head> | |
<body> | |
<div id="fb-root"></div> | |
<script> | |
/* | |
Learn more about the Facebook Video Player API here: |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="http://d26b395fwzu5fz.cloudfront.net/keen-tracking-1.0.1.js"></script> | |
</head> | |
<body> | |
<!-- HTML5 Video Player --> | |
<div> | |
<button id="video-control">Play</button> | |
<br><br> |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="http://d26b395fwzu5fz.cloudfront.net/keen-tracking-1.0.1.js"></script> | |
<!-- VideoJS Assets --> | |
<link href="http://vjs.zencdn.net/5.8.8/video-js.css" rel="stylesheet"> | |
<script src="http://vjs.zencdn.net/5.8.8/video.js"></script> | |
</head> | |
<body> |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="http://d26b395fwzu5fz.cloudfront.net/keen-tracking-1.0.1.js"></script> | |
</head> | |
<body> | |
<iframe id="youtube-iframe-player" | |
width="640" height="360" | |
src="https://www.youtube.com/embed/G5UBjF1z9hA?enablejsapi=1" | |
frameborder="0" |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="http://d26b395fwzu5fz.cloudfront.net/keen-tracking-1.0.1.js"></script> | |
<script src="https://player.vimeo.com/api/player.js"></script> | |
</head> | |
<body> | |
<iframe id="vimeo-player" | |
src="https://player.vimeo.com/video/76979871" | |
frameborder="0" height="360" width="640" |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="http://d26b395fwzu5fz.cloudfront.net/keen-tracking-1.0.1.js"></script> | |
</head> | |
<body style="height: 9000px;"> | |
<h1>Open your developer console</h1> | |
<a href="./index.html">Test Page Unload</a> | |
<script> | |
/* |
This script will create a series of webhooks to stream event data from your Github organization(s) to a Keen project.
Login to Keen IO to create a project and grab the Project ID and Write Key from your project's Access page. Copy these into the keen.projectId
and keen.writeKey
fields of the config.json
file included with this gist.
OlderNewer