anapsix / fwrd.in

track click-through from social media to third-party destination with GA

Home Page:http://fwrd.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FWRD.in

Track click-through from social media to third-party destination with GA.

Problem and Solution

Creating good content to share on social media platforms to drive traffic to your site is an art form. From technical perspective things are pretty straight forward (most of the time), i.e.: during creation of the post the platform [Facebook / Twitter / LinkedIn] picks up content from link destination, users see the post, link is clicked, user visits the site, GA fires a pageview event attributing the visit to your campaign and social platform.
Trouble is, when you want to share a Wired.com article about your revolutionary new product with the world, you do not own the landing page (e.g. Wired.com) and thus cannot put your GA code there to track visits and success of your campaign. In GA you'll see traffic from Wired.com, but you wouldn't know if your post/share/tweet generated any part of it. FWRD.in let's you do that by generating a link, which when visited by supported social media platforms will 302-redirect it to the destination site (allowing it to scrape open graph tags and the content of the article). Yet when human visits the generated link, it quickly sends a GA pageview event to a configured property (e.g. UA-1234567-1) and sends user to the destination.
Of course, you could pay some advertising agency for use of their platform to get this insight. Or you can roll out your own service that does same thing for $5/month running on Digital Ocean.
Feel free to use FWRD.in to try things out and for low volume tracking, but assume no uptime/SLA guarantees.

Usage

php:

php -S 0.0.0.0:8080

Docker

run:

docker pull anapsix/fwrd.in
docker run -it -p 8080:8080 fwrd.in

build:

docker build --no-cache -t fwrd.in github.com/anapsix/fwrd.in

Supported Social Media Platforms

  • Facebook
  • Twitter
  • LinkedIn
  • Google+

Credits

created by @dysfunct, adapted by @anapsix

About

track click-through from social media to third-party destination with GA

http://fwrd.in


Languages

Language:HTML 48.1%Language:CSS 23.1%Language:JavaScript 14.8%Language:PHP 8.1%Language:Shell 5.9%