Posted on 06 June 2009 by Demian Turner
Are you using WordPress for your blog? Who isn’t
But a fairly simple sounding task like tracking conversions for Adwords campaigns actually requires a bit of work. Here is the system I found works best, you can get it up and running in only a few minutes.
The goal is to be able to track when contact enquiries result from a paid campaign. I’m using this systems at http://seagullsystems.com.
- the contact form plugin you need is cForms, version 1.5 or later (scroll down past the pluses, big banner on left hand side)
- install the plugin, you will probably need to create the file abspath.php manually
- configure a basic contact form, for example name it “my_form”
- insert the form in your relevant page by pasting the html comment <!–cforms name=”my_form”–>
- in the cformII options panel select Form Settings
- make 2 settings:
- disable the Ajax mode in the first section
- in the Core Form Admin / Email Options section, tick Enable alternative success page (redirect) and enter a Thanks page URL you previously created inWordpress
And that’s it! Any probs please mention in the comments.
Posted on 31 October 2008 by Demian Turner
Congrats to Matt Mullenweg, who I met unexpectedly last year, on this fantastic achievement. Via facebook:
Posted on 14 April 2008 by Demian Turner
Despite giving Matt and the boys some flack recently I must admit I’ve really been enjoying the user experience of WordPress while experimenting with it on a non-technical blog. One thing led to another, and finally the s9y backend used to run PHPkitchen became too painful to use.
The main problem was a typical one for Mac users, the wysiwyg in s9y has no support for Safari and using Firefox is just too painful. Things like listing the plugins would frequently crash the browser when one page consisted of 50 plugins, each associated with a combobox of 700 users.
I’d like to blame my paltry blog output over the last couple of years to a whole host of technical problems, but the bottom line is things have been kinda busy with Kindo and a few other projects.
So last weekend I finally switched over to WordPress, and really the blogging experience is way smoother, I anticipate the posting frequency here will improve favourably. From auto-save to great HTML support to customisable SEO URLs – there are a lot of features that simply blow away the competition.
Ping notifications are way better organised in WP, and the automatic generation of a sitemap.xml for 7 years worth of content is just fantastic. Have also been playing with the stats plugin, interesting because after being brainwashed into thinking Google Analytics was the holy grail of web stats, I’ve found the WP stats considerably more meaningful, succinct and relavant.
The URLs at PHPkitchen have changed a bit with the migration so until Google and Yahoo update their indexes you’ll probably have to use the site search to find the article you’re looking for. Please let me know if you find any glitches with the content, 404s or any other problems.
Posted on 09 January 2008 by Demian Turner
Continuing on the themes of Safari superiority (at least on a Mac) and WordPress, anyone who wants to use this browser for wysiwyg editing of the latest WordPress release (2.3.2) should check out this fix:
Posted on 01 October 2007 by Demian Turner
Quite an interesting thread on the PHP London mailing list about folks’ experience using WordPress. The final comment seemed to be the most indepth and informative, and confirms previous comments I’ve heard.
We did http://ftalphaville.ft.com using WordPress, and speaking as someone who’s actually had to wade through pretty much the whole codebase, let me tell you it seriously sucks. A few highlights:
1. It tries to detect magic_quotes_gpc, un-quotes the superglobal arrays and then re-quotes them so it’s impossible to get access to the raw querystring or post data
2. I’ve had function chains up to eight calls long with each function in a different file.
3. I still have nightmares about a function called wpautop(). If you ever think about editing it… don’t.
4. I’ve lost count of the number of code blocks that have comments such as “This probably isn’t needed anymore”. Probably!?
And yes, my own blog runs WordPress. It’s just so damned easy to install