CSE 135

collector.cse135.site

What is this collector site for?

This subdomain will hold all of the minified collector scripts that you want to inject to other webpages. Along with that, it will also serve as the collection endpoint for that script to retrieve all of the collected data. An example of the routing is below:

  • collector.yourdomain.com/scripts
    • This will be the base route where you will retreive your minified scripts
  • collector.yourdomain.com/scripts/analytics.min.js
    • Here is an example of where one of your scripts might be located, retrievable with a simple GET
  • collector.yourdomain.com/endpoints
    • This will be the base route for any endpoints you set up to collect your data
  • collector.yourdomain.com/endpoints/collector
    • This is an example of an endpoint you would set up on your server to POST data to

Examples:

Analytics Script Endpoint: https://collector.cse135.site/scripts/analytics.min.js

Collector Endpoint (Echos POSTs): https://collector.cse135.site/endpoints/collector

Collector Endpoint Response: