Posted on

Magento and Google Analytics – Use ‘First Touch’ Tracking To See How Your Customers First Visit Your Store

At the recent Auckland Magento Meetup I had the privilege of seeing Mark Hammersley’s presentation on email marketing – Mark’s a fascinating guy and a real expert, I highly recommend checking out his site. One of the things that came up during his presentation was the idea of first touch tracking your visits, particularly in the sense that if they first come to you because of an email, and you build a relationship with them and they eventually buy from you – knowing if it was an email and which one brought them to the store in the first place is very valuable information.

Magento does not track this out of the box and neither does Google Analytics, however with a simple customization it can be added to the store. This blog post will run through how I added it to two of our new World Wide Access stores, <plug> Cariboo Cribs – which sells cribs and cots to the UK and soon to the USA – and Dominion New Zealand – which sells high quality sheepskin coats and boots (think New Zealand made Ugg).</plug>

Continue reading Magento and Google Analytics – Use ‘First Touch’ Tracking To See How Your Customers First Visit Your Store

Posted on

Why are my Magento products not showing up?!

This is a just a quickie – got caught out with a weird issue yesterday where the Magento products in a particular category just disappeared – they still existed if you navigated directly to their URL, but they would not show in their categories (though the Manage Categories screen in the Magento admin still showed those products in their correct category).

These things always happen at inopportune times, I was right about to start a pre-go-live review of a site, and was left with one category completely devoid of products, thanks for making me look like an egg, Magento!
Continue reading Why are my Magento products not showing up?!

Posted on

Structuring your Magento project for Engineering, not Hacking

This is a blog post about how I structure my Magento store development, and how that has been made easier thanks to the efforts of Colin Mollenhour and his script modman. Hopefully after reading this, you’re all inspired to go set up a similar project structure, because it gives a repeatable, hopefully less upgrade ruined Magento experience. Certainly if you’re not inspired, I’d like to hear about how you are structuring your projects – the more talk of this, the better the overall quality of Magento stores in the wild, I hope.
Continue reading Structuring your Magento project for Engineering, not Hacking

Posted on

WordPress: Blank page after posting comments and Akismet

Just a real real quickie related to WordPress here, not Magento. If you find adding comments in wordpress causes a blank page – try disabling akismet. If that fixes it, it probably means the domain you were using to test with in the comments field has been marked as spam by Akismet. WordPress serves up the blank page as a feature to prevent spam bots. No errors were logged though, so it made it a bit tricky to figure out what’s going on.

There are loads of other people with this problem, or variations of it online – googling around there semeed to be a lot of confusion – my sugegstion is to try disabling akismet first.

Other possible causes though I found and tried before getting to Akismet: Old theme with incorrect comment form on a newer version of wordpress – compare it to the default theme for your version of wordpress. Caching – try disabling your cache if you use one.

Hope that saves someone some time. Magento content coming soon, promise…

Posted on

Magento 1.4.0.1 Tax Calculation error – Out by a factor of 100

I was just setting up a store with GST tax on Magento 1.4.0.1 and got caught up on a bug where the tax on a product would be calculated correctly, but the total on the cart page would show it 100x (yes 100 times!) lower than it actually was, leading to an incorrect total being calculated for when tax is included.

With a bit of Google’ing and I found this forum post which had the answer. A clean way of making this little patch while we await a core fix is:
Continue reading Magento 1.4.0.1 Tax Calculation error – Out by a factor of 100