Closed belucid closed 4 years ago
This is the master PR.
Also support and storage.
To test:
Go to the landing page with UTM params, e.g.
localhost:3559/?utm_campaign=foo&utm_term=bar&utm_source=foobar&utm_medium=message
Clean your DB
[x] Notice that the params are written to cookies
[x] Notice that the URL was cleaned up
Signup a new org via Slack
[x] Check that the UTM cookies are gone
[x] Check the org in the DB and see the UTM values
[x] Check stabejo and see the UTM values
Clean your DB again
Repeat the steps above, but with an email signup, and only some of the UTM params, e.g.
localhost:3559/?utm_campaign=foo&utm_term=bar
Repeat the steps above, but with an email signup, and no UTM params, e.g.
localhost:3559/
[x] Check that there are no UTM cookies
[x] Check the org in the DB and see there are no UTM values
[x] Check stabejo and see there is no mention of UTM values
Merge branches
Deploy
Eat a big sandwich
This is the master PR.
Also support and storage.
To test:
Go to the landing page with UTM params, e.g.
localhost:3559/?utm_campaign=foo&utm_term=bar&utm_source=foobar&utm_medium=message
Clean your DB
[x] Notice that the params are written to cookies
[x] Notice that the URL was cleaned up
Signup a new org via Slack
[x] Check that the UTM cookies are gone
[x] Check the org in the DB and see the UTM values
[x] Check stabejo and see the UTM values
Clean your DB again
Repeat the steps above, but with an email signup, and only some of the UTM params, e.g.
localhost:3559/?utm_campaign=foo&utm_term=bar
[x] Check that the UTM cookies are gone
[x] Check the org in the DB and see the UTM values
[x] Check stabejo and see the UTM values
Clean your DB again
Repeat the steps above, but with an email signup, and no UTM params, e.g.
localhost:3559/
[x] Check that there are no UTM cookies
[x] Check the org in the DB and see there are no UTM values
[x] Check stabejo and see there is no mention of UTM values
Merge branches
Deploy
Eat a big sandwich