I've had a client request to add google analytics ecommerce tracking to their site which uses ARB
Google's documentation for this says to include a bit of javascript on the payment complete page, which in the case of ARB would be my silent post handler page - but I'm a bit sceptical about whether any javascript on this page will be executed when the page is posted to by Authorize.Net
Does anyone know if javascript on an ARB silent post handler page will be run?
02-27-2012 03:51 PM
The purpose of adding Analytics to your site is obviously to track how orders are coming in, not how they're charged from then on, and there is therefore no real point to adding Analytics to your silent post page even if it did work that way. Just FYI, Javascript on your silent post page will not run, since it's called mechanically by Authorize.net and not via a browser or browser simulator.
Just add Analytics to the rest of the site and forget the silent post. If they want transaction statistics, they can log into the Authorize.net control panel and get them there.
02-27-2012 05:23 PM