news-catalyst / next-tinynewsdemo

Frontend for Tiny News Collective organizations
https://next-tinynewsdemo.vercel.app
1 stars 0 forks source link

Analytics: update referral labels #1012

Open jacqui opened 2 years ago

jacqui commented 2 years ago

I've been keeping tabs on the various GA data importers and note the referral sessions data could potentially be made a bit more user friendly by matching incoming domains.

The full list of referral sources is:

{
  "data": {
    "ga_referral_sessions": [
      {
        "source": "accounts.google.com"
      },
      {
        "source": "app.tryletterhead.com"
      },
      {
        "source": "bing"
      },
      {
        "source": "blackboard.shawnee.edu"
      },
      {
        "source": "black-by-god-git-feature-pay-what-you-want-news-catalyst.vercel.app"
      },
      {
        "source": "blackbygod.org"
      },
      {
        "source": "blackbygod-org.cdn.ampproject.org"
      },
      {
        "source": "calendly.com"
      },
      {
        "source": "crystalgood.net"
      },
      {
        "source": "(direct)"
      },
      {
        "source": "duckduckgo"
      },
      {
        "source": "ecampus.wvu.edu"
      },
      {
        "source": "evernote.com"
      },
      {
        "source": "facebook.com"
      },
      {
        "source": "flareapp.io"
      },
      {
        "source": "github.com"
      },
      {
        "source": "google"
      },
      {
        "source": "kcpls.org"
      },
      {
        "source": "l.facebook.com"
      },
      {
        "source": "linkedin.com"
      },
      {
        "source": "linktr.ee"
      },
      {
        "source": "l.instagram.com"
      },
      {
        "source": "lm.facebook.com"
      },
      {
        "source": "localhost:3000"
      },
      {
        "source": "medium.com"
      },
      {
        "source": "m.facebook.com"
      },
      {
        "source": "Mountain State Spotlight"
      },
      {
        "source": "newarkstories.com"
      },
      {
        "source": "next-tinynewsdemo-9ypxfmd8z-news-catalyst.vercel.app"
      },
      {
        "source": "next-tinynewsdemo.vercel.app"
      },
      {
        "source": "n-s4vshwzfwlvnqx56yk3pzvazbnucuytmjbpbiga-0lu-script.googleusercontent.com"
      },
      {
        "source": "n-s4vshwzfwlvnqx56yk3pzvazbnucuytmjbpbiga-1lu-script.googleusercontent.com"
      },
      {
        "source": "objectivejournalism.org"
      },
      {
        "source": "platform.younoodle.com"
      },
      {
        "source": "poynter.org"
      },
      {
        "source": "read.letterhead.email"
      },
      {
        "source": "server.presspass.dev"
      },
      {
        "source": "sheep-ladybug-z3tp.squarespace.com"
      },
      {
        "source": "t.co"
      },
      {
        "source": "us19.campaign-archive.com"
      },
      {
        "source": "vantageventures.io"
      },
      {
        "source": "vercel.com"
      },
      {
        "source": "wvutoday.wvu.edu"
      }
    ]
  }
}

@TylerFisher do you think I should bother doing any clean up on these values? For example, I could replace the *.googleusercontent.com sources with Google Docs Publishing Sidebar or something similar; t.co with Twitter; all the *.facebook.com with Facebook, etc.

There aren't a huge amount of different sources, at least at the moment, but it will grow. However, this also doesn't seem like a top priority, so I'll leave it up to you.

TylerFisher commented 2 years ago

Yeah, I think this is a good idea, though it seems low priority to me.

cbj0hns0n commented 2 years ago

Repro: Go to Analytics > Sessions. See names for the sites, like "t.co." It would be helpful to rename these to make more sense to the end user.