Multiple Currency in Google Analytics using Traditional Syntax

Last month Google finally announced multiple currency in Google Analytics for e-commerce sites. A long waited feature so the news was a really big deal. More information about it can be found here.

To apply it, you only need to add one simple line on your GA code before the call to _trackTrans:

_gaq.push(['_set', ‘currencyCode’, ‘EUR’]);

More detailed information can be found on their Ecommerce Tracking documentation.

The minor problem is the example only shows the code for newer Asynchronous Syntax. What if you are using the Traditional Syntax? Well you can either update your code to use Asynchronous Syntax or use this line:

pageTracker._set('currencyCode', 'EUR');

Thanks Google!

Leave a Reply