- From: Renoir Boulanger <renoir@w3.org>
- Date: Wed, 9 Oct 2013 15:03:41 -0400
- To: David Kirstein <frozenice@frozenice.de>
- Cc: List WebPlatform Analytics public <public-wpd-analytics@w3.org>, Patrick D'Souza <pdsouza@about.com>, Andre Jay Meissner <ameissne@adobe.com>
- Message-Id: <EA983B3F-EB3B-4A72-BAA1-AE160014A4C9@w3.org>
Hey gents, Thanks for the reply fr0zenice, I actually made a attempt a few weeks ago [0] and forgot to follow up on it. You are right, it fits the job. The feature I want to do is basically to streamline things (i.e. less manipulations). Let's see later how we can make a small script that actually commit using your own github repo (i.e. oauth) and creates a pull request to the webplatform/Shortlinks repository. This way, we could only have to ask somebody with rights to the webplatform organization to merge the pull request and activate the link. Let's put a hold on this thread for now, I archived it in the issue tracker and refer to this conversation [1] [0]: https://github.com/webplatform/Shortlinks/commit/3bba922e621d395a6e7303f7aced87e816cb6945#diff-191573281e4a376f2a0ec23e0fc45fec [0]: http://wpd.mx/example/ [1]: http://project.webplatform.org/community/issues/6 Renoir ~ On 2013-10-09, at 1:55 PM, David Kirstein <frozenice@frozenice.de> wrote: > Nice! Grab me on IRC or send a mail to talk. > > As for the URL shortener, I support Patrick’s idea to do this via wpd.mx: We can easily put the logic behindwpd.mx on the WPD servers, the tech is described at http://frozenice.de/blog/how-the-wpd-mx-shortlink-service-works/ (it’s really not that complicated). We could then add a service for e.g. Wiki-Admins (permission check) to generate short URLs with random slugs (so they don’t disturb the keywords in the wpd.mx repo, or maybe add a namespace kinda thing, like wpd.mx/t/12qop9eukhuf [“t” for tracking]). No need for an extra 3rdparty software, we can easily put that together ourselves. :) > > -fro ß you can call me that btw! It’s what signatures are for, really. ;) > > From: Andre Jay Meissner [mailto:ameissne@adobe.com] > Sent: Mittwoch, 9. Oktober 2013 12:49 > To: Renoir Boulanger > Cc: David Kirstein; Patrick D'Souza > Subject: Re: Upcoming tool: Goal tracking URL generator > > Happy to chat, just let me know where and when, Renoir. But I go by "Jay". And believe David prefers "frozenice". :) > > Cheers, > *Jay > > > Von: Renoir Boulanger <renoir@w3.org> > Datum: KW 41 | Mittwoch, 9. Oktober 2013 04:18 > Cc: David Kirstein <frozenice@frozenice.de>, Patrick D'Souza <pdsouza@about.com>, Andre Jay Meissner <ameissne@adobe.com> > Betreff: Re: Upcoming tool: Goal tracking URL generator > > Sorry guys for double posting > > I sent the previous using my mobile.me e-mail. > > Can you ignore it, please :) > > BTW, I sent to public-wpd-analytics as it is more fitting than the general public mailing-list. > > Renoir > ~ > > On 2013-10-08, at 10:15 PM, Renoir Boulanger <renoirb@me.com> wrote: > > > Hey everybody, > > Today I built a quick utility to generate URL specific to Piwik. > > This small utility is referred to as "URL Generator utility". > > I have the hopes to fulfill most of what is described in "What is missing" and "other things coming". > > @David, Andre, I'd like to talk with you guys about what has been done and what it requires so I might find a way to connect them together. Without the need to use a Google docs form :) > > > How it works: > > 0. Assuming you are on a WPD page and you want to track visits > 2. Enable the URL generator using the new bookmarklet (see below for "Bookmarklet code") > 3. The webpage adds a new form, you can adjust the parameters [attachment ad-hoc-form.png] > 4. Required fields are pre-filled. Note that the campaign name is based on the domain name, adjust to suit your taste > 5. Click Generate URL button > 6. Copy the generated URL and optionally shorten it using your favourite URL shortener service > > > What is missing: > > 1. Ensure fields replaces spaces and remove accents in fields > 2. Find other place where to enable (currently only in Blog, Docs sub domains) > 3. Switch to create a timed cookie specific to an event > 4. Optional: Auto-shorten URL… and/or use our own shortener service? (I found a few open source ones) > > > Other things coming: > > 1. Make a system that creates a cookie specific to an event, configurable via the URL Generator utility > 2. Make a JavaScript goal conversion call to Piwik ("goal publisher") > 3. Find a way to retrieve the username, send using the goal publisher > 4. If goal conversion event is happening within a browser with the cookie specific to an event, send using the goal publisher > > > Bookmarklet code: > 1. Drag-drop any web address on your browser toolbar to make a bookmark > 2. Change the URL [attachment bookmarklet-code.png] for the following, then save it. > > javascript:var d=document,g=d.createElement("script"),s=d.getElementsByTagName("script")[0];g.type="text/javascript";g.defer=true;g.async=true;g.src="http://test.webplatform.org/tracking/manager.js";s.parentNode.insertBefore(g,s) > > PS: I will find a way to make it drag droppable later, it is an encoding issue that I need to put more time than the 10 attempts I had so far :) > > On a page within docs, blog (e.g. http://blog.webplatform.org/2013/08/web-platform-wednesday-week-16-left-over-fondue/) click the bookmarklet, something should appear. [1] > > Note: The utility uses CORS specification and will only work under docs and blog subdomains. > > > Renoir Boulanger > Frontend & Software developer > > https://renoirboulanger.com/#is > ~ > > > <bookmarklet-code.png><adhoc-form.png>
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Wednesday, 9 October 2013 19:03:32 UTC