Skip to content

Latest commit

 

History

History

rollup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Pirsch Analytics Web Demo

This demo shows how you can use Pirsch on your website using JavaScript to create roll-up views.

Configuration

Adjust the snippets in static/index.html and static/page.html with your identification code, the URL, and remove the data-*-endpoint attributes.

Usage

Create a dashboard for bar.com and add foo.com as an additional domain.

Use any HTTP server you like to serve the bar.com and foo.com directories. Here is an example using PHP on bar.com and foo.com. Edit your hosts file to create a loop back for the two domains so that they point to localhost.

cd demo/rollup/bar.com
php -S bar.com:8081

In a second terminal:

cd demo/rollup/foo.com/dir
php -S foo.com:8082

Open bar.com:8081 in your browser.