Skip to content

This is a simple website instrumented with analytics-next-cc and made to run in an httpd container

License

Notifications You must be signed in to change notification settings

realtimedatalake/event-demo-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event Demo Website

This is a simple website instrumented with analytics-next-cc – rtdl's fork of Analytics Next (aka Analytics.js 2.0). The site has text fields, a dropdown, and a submit button that fires several events onClick. The analytics-next-cc configuration will carbon copy (cc) all events that are sent to Segment to the ccUrl (set to "http://localhost:8080/ingest" in website) option and restrict sending events to Segment depending on the dontSendToSegment option (set to false in website).

rtdl - The Real-Time Data Lake

This is a sub-project of rtdl – the real-time data lake. Please go to rtdl's repo and give it a star.

How to Use

1.  Update all `[your_write_key]` to your Segment write key in index.html
2.  Update the `ccUrl` and `dontSendToSegment` options in index.html
3.  Save index.html
2.  run `docker run -dit --name rtdl-demo-site -p 8085:80 -v "$PWD":/usr/local/apache2/htdocs/ httpd:latest`

About

This is a simple website instrumented with analytics-next-cc and made to run in an httpd container

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages