-
Notifications
You must be signed in to change notification settings - Fork 0
5 Test your pixel
HOME > SNOWPLOW SETUP GUIDE > Step 1: setup a Collector > [Setup the Cloudfront collector](setting up the cloudfront collector) > 5. Test your pixel
Wait 10-15 minutes after creating the Cloudfront distribution before running the following test. (As it takes a little bit for the Cloudfront setup to complete...) Now try accessing your pixel over both HTTP
and HTTPS
using a browser, wget
or curl
:
http://{{SUBDOMAIN}}.cloudfront.net/i
https://{{SUBDOMAIN}}.cloudfront.net/i
If you have any problems, then double-check your CloudFront distribution's URL, and check the permissions on your pixel: it must be Openable by Everyone.
That's it - you now have a CloudFront distribution which can serve your tracking pixel fast to anybody anywhere in the world and log the request to Amazon S3 in your snowplow-logs
bucket.
At the moment, the Snowplow ETL process does not have a facility for filtering out events generated by your development or test environments.
For this reason, we strongly recommend that you also self-host a second tracking pixel, to serve as a kind of /dev/null
for Snowplow events in your development and test environments.
A couple of notes on this approach:
- You would need to configure your web application to use the correct CloudFront account ID depending on environment
- Unless you want to analyse your development or test environment, disable logging on the CloudFront distribution for your pixel
If you prefer, the Snowplow Analytics team maintains a publically available /dev/null
tracking pixel on this account ID:
d3rkrsqld9gmqf
You are now ready to setup a tracker.
Return to the setup guide.
Home | About | Project | Setup Guide | Technical Docs | Copyright © 2012-2013 Snowplow Analytics Ltd
HOME > SNOWPLOW SETUP GUIDE > Step 1: Setup a Collector > [Setup the Cloudfront Collector] (Setting-up-the-Cloudfront-collector)
- [Setup a Collector] (setting-up-a-collector)
- [Setup the Cloudfront Collector] (setting-up-the-Cloudfront-collector)
- [Step 2: Setup a Tracker] (setting-up-a-tracker)
- [Step 3: Setup EmrEtlRunner] (setting-up-EmrEtlRunner)
- [Step 4: Setup the StorageLoader] (setting-up-storageloader)
- [Step 5: Analyze your data!] (Getting started analyzing Snowplow data)
Useful resources