TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Purser.js: A JS library for preserving user data from first visit to signup

86 pointsby BillFranklinabout 8 years ago

3 comments

Exumaabout 8 years ago
This seems like it&#x27;s just a serialized cookie, am I missing something?<p>One thing that would make this insanely valuable is if you had the option to follow the same rules that google analytics uses to store UTM cookies.<p>Since the release of analytics.js they no longer allow you to ask the ga object what it thinks the current utm variables are (as they can be overwritten, expire, etc). One might want to do this to track stuff in their own database, etc.<p>That means one has to attempt to model their algorithm to get it to work, and lets just say thats super annoying:<p><a href="https:&#x2F;&#x2F;lh3.googleusercontent.com&#x2F;8EiYEKczs9NLsuKkZjRmeygRZ1DjP2NWTI5BQ2_3n8iOjfsbb3GjL4ETu241M5gZEOs=w721" rel="nofollow">https:&#x2F;&#x2F;lh3.googleusercontent.com&#x2F;8EiYEKczs9NLsuKkZjRmeygRZ1...</a>
评论 #13679759 未加载
deskcoderabout 8 years ago
This is pretty cool, but it seems like it doesn&#x27;t store data for multiple visits. Say I land via Google yesterday, come back today via HN, then sign up. I&#x27;d like to know all that.
评论 #13682608 未加载
eemphabout 8 years ago
Thank you for your contribution to building a surveillance state.
评论 #13683079 未加载