{"id":986,"date":"2011-01-02T13:00:36","date_gmt":"2011-01-02T13:00:36","guid":{"rendered":"http:\/\/positech.co.uk\/cliffsblog\/?p=986"},"modified":"2011-01-01T23:01:34","modified_gmt":"2011-01-01T23:01:34","slug":"ecommerce-tracking-oh-shoot-me-now","status":"publish","type":"post","link":"https:\/\/www.positech.co.uk\/cliffsblog\/2011\/01\/02\/ecommerce-tracking-oh-shoot-me-now\/","title":{"rendered":"Ecommerce tracking. Oh shoot me now&#8230;"},"content":{"rendered":"<p>One of the really boring bits of my job which doesn&#8217;t involve explosions (all the best bits involve explosions), is the tedious process of working out which people who saw an advert or website coverage bought a game. Big companies have an army of calculator-brained accountant\/web developer geek hybrids to worry about this nonsense, while the game designers do more important stuff like eat canapes and quaff champagne. In my case, I have to do it.<\/p>\n<p>Bah.<\/p>\n<p>(The sales tracking, not the quaffing)<\/p>\n<p>Double Bah.<\/p>\n<p>People who know me well, will realise that peversely, I love this sort of stuff. However, getting it working properly is a nightmare. I use google as my analytics provider, and BMT Micro as my payment company. I&#8217;ve been spending a lot of time trying to get it all to work properly. In theory this is what happens:<\/p>\n<ul>\n<li>Visitor comes to the positech site from a google advert, google analytics drops a cookie on their PC.<\/li>\n<li>Visitor buys the game(yay!) and is redirected to the BMTMicro site.<\/li>\n<li>Javascript on BMTs site notifies google all of the data about the transaction, and who made it<\/li>\n<li>Analytics ties this together and lets me congratulate myself on a l33t advert.<\/li>\n<\/ul>\n<p>In practice, this is what currently happens:<\/p>\n<ul>\n<li>Visitor comes to the positech site from a google advert, google analytics drops a cookie on their PC.<\/li>\n<li>Visitor buys the game(yay!) and is redirected to the BMTMicro site.<\/li>\n<li>Javascript on BMTs site treats all transactions as UK Pounds, regardless of currency. Lets hope nobody in zimbabwe buys the game or the stats are useless,<\/li>\n<li>Analytics denies all knowledge of the fact that it&#8217;s the same visitor, convinced that everyone who buys the game must have appeared magically on BMTs website by beaming there direct from Tatooine.<\/li>\n<\/ul>\n<p>I may have fixed this, by completely re-doing all of the javascript for the analytics on all the pages on the site I&#8217;m tracking, but it will take a few days for me to see if that&#8217;s really the case. To add confusion, I don&#8217;t have access to the code on the actual post-buy page, because that&#8217;s a secure page hosted by BMTMicro, so debugging this takes longer than usual. Google have written dozens of articles on how it works, almost all of which is contradictory. Thanks guys!<\/p>\n<p>To really hammer home how clueless I am at that, I have picked up a stalker.<\/p>\n<p>My stalker is an advert for an iiyama monitor that I looked at once, which follows me everywhere. It&#8217;s the digital equivilant of a girl you smiled at in a bar once who then follows you everywhere for the next 30 days. Creepy, and annoying, but more importantly, it&#8217;s evidence that everyone else has their customer tracking down to a fine art, and I&#8217;m still acting like some newcomer blundering about in clown shoes wondering who buys his games.<\/p>\n<p>Bah.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the really boring bits of my job which doesn&#8217;t involve explosions (all the best bits involve explosions), is the tedious process of working out which people who saw an advert or website coverage bought a game. Big companies have an army of calculator-brained accountant\/web developer geek hybrids to worry about this nonsense, while<\/p>\n<p class=\"text-right\"><span class=\"screen-reader-text\">Continue Reading&#8230; Ecommerce tracking. Oh shoot me now&#8230;<\/span><a class=\"btn btn-secondary continue-reading\" href=\"https:\/\/www.positech.co.uk\/cliffsblog\/2011\/01\/02\/ecommerce-tracking-oh-shoot-me-now\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-986","post","type-post","status-publish","format-standard","hentry","category-business"],"_links":{"self":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/comments?post=986"}],"version-history":[{"count":1,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/986\/revisions"}],"predecessor-version":[{"id":987,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/posts\/986\/revisions\/987"}],"wp:attachment":[{"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/media?parent=986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/categories?post=986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.positech.co.uk\/cliffsblog\/wp-json\/wp\/v2\/tags?post=986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}