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

Accept UTM Parameters #26

Open
nelsonic opened this issue Mar 17, 2020 · 1 comment
Open

Accept UTM Parameters #26

nelsonic opened this issue Mar 17, 2020 · 1 comment

Comments

@nelsonic
Copy link
Member

Story

As a web app/site product developer/manager
I want to keep track of the source of visitors
So that I know how people are discovering the app/site.

The way we will achieve this is using industry standard tracking (UTM) parameters.

Context

Urchin Tracking Module (UTM) parameters https://en.wikipedia.org/wiki/UTM_parameters were introduced by Google Analytics' predecessor Urchin and, consequently, are supported out-of-the-box by Google Analytics. They are the most widely used URL parameters in Analytics and are generally supported by most alternatives to Google Analytics, the 800-pound gorilla in web/app analytics.

Parameter Purpose Example
utm_source (required) Identifies which site sent the traffic, and is a required parameter. utm_source=Google
utm_medium Identifies what type of link was used, such as cost per click or email. utm_medium=cpc
utm_campaign Identifies a specific product promotion or strategic campaign. utm_campaign=spring_sale
utm_term Identifies search terms. utm_term=running+shoes
utm_content Identifies what specifically was clicked to bring the user to the site, such as a banner ad or a text link. It is often used for A/B testing and content-targeted ads. utm_content=logolink or utm_content=textlink

Note: I don't think we need to have all of these UTM parameters working from Day 1.
We just need utm_source=welcome-mail and utm_term=token
However I don't feel it's that much effort to parse all 5 params and write the tests for them,
so we might as well just support them all ... 💭

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

No branches or pull requests

1 participant