Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSS feed analytics - HTTP reverse-proxy? #4

Open
chexxor opened this issue Dec 20, 2018 · 0 comments
Open

RSS feed analytics - HTTP reverse-proxy? #4

chexxor opened this issue Dec 20, 2018 · 0 comments

Comments

@chexxor
Copy link
Owner

chexxor commented Dec 20, 2018

I would like to have basic analytics of podcast listeners.
I'm currently planning on generating the RSS feed in Hugo from the posts. This will be a separate url, perhaps available at "www.pure-pandemonium.club/podcastrss.xml".

I don't know how to set up server-side code to add custom handling for a specific URL hosted by our website, so I suspect we'll have to set up an HTTP proxy which logs the HTTP request to Google Analytics or where-ever, and forwards the request to the real RSS feed.

So, the next easiest way to do add custom server code on our domain is a new subdomain, perhaps "rss.pure-pandemonium.club", which reverse-proxies to whatever URL we put it at on Hugo, like "/podcastrss.xml". If we do this, we would set up a Google Cloud Function or AWS Lambda Function, then put a DNS record in to resolve "rss.pure-pandemonium.club" to the URL given to us by the function hosted by that FaaS provider

I think it's pretty important to maintain control over the URL we advertise as our RSS feed, and doing it this way seems like a good balance of simple, low-cost, and retaining control of the advertising URL.

Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant