fooman / googleanalyticsplus

Magento Extension to add extra features to the default GoogleAnalytics module.
http://store.fooman.co.nz/extensions/magento-extension-googleanalyticsplus.html
100 stars 53 forks source link

New GA Remarketing Lists #24

Open studio2f opened 10 years ago

studio2f commented 10 years ago

So I guess google would like us to now move away from the Adwords Remarketing lists and start building Google Analytics Remarketing lists?

http://analytics.blogspot.com/2014/04/smarter-remarketing-with-google.html http://analytics.blogspot.in/2014/03/tailored-ads-better-results-dynamic.html

Here 's the custom variables they want pushed to GA (they're currently used in the adwords remarketing tag): https://support.google.com/analytics/answer/3455600

Kristof, is this something you plan to support?

fooman commented 10 years ago

Thanks for the links. It should be straight forward to adapt the template here https://github.com/fooman/googleanalyticsplus/blob/master/app/design/frontend/base/default/template/fooman/googleanalyticsplus/remarketing.phtml

I might add support for this in the future - but I am currently inclined to wait until they do the same for Universal tracking (they just deprecated Classic so I am not sure why they launched this for Classic and did not provide details for Universal...)

studio2f commented 10 years ago

I think it does support both. I haven't moved to Universal yet, so I can't check for sure-- but when you setup a new Remarketing "Smart List" in GA, there is a tool tip about modifying your GA code to support the GA Remarketing. The tool tip provides instructions for both Classic and Universal (looks like the only change is the doubleclick.net url for Display Advertising that you are already doing).

https://support.google.com/analytics/answer/2444872?hl=en&utm_id=ad

Regardless-- happy to wait!

fooman commented 10 years ago

I think the url is one part of the puzzle which seems easy enough.

The part which is not clear is

Custom variables aren't available for Universal Analytics. If you're using Universal Analytics, use custom dimensions instead. Learn more about custom dimensions or visit the Custom Dimensions & Metrics feature reference in our Developer Guides for more technical information.

and how that works with the guideline to use these custom variables

_gaq.push(['_setCustomVar', 3, 'ecomm_prodid', '1234,5678']);
_gaq.push(['_setCustomVar', 4, 'ecomm_totalvalue', '99.99']);
_gaq.push(['_setCustomVar', 5, 'ecomm_pagetype', 'cart']);
studio2f commented 10 years ago

You know, they don't do a great job of documenting all of this...

studio2f commented 10 years ago

While it's not documented well, it does look like Universal Analytic's Custom Dimensions work perfectly. They show up along side Custom Variables. Below I've made a Universal Analytic Custom Dimension named "Test" and the second shot I've chosen it as the new "Smart List" remarking Dynamic Attribute for product ID.

Define the dimension: Define the dimension

Link the dimensions: Link the dimensions

fooman commented 10 years ago

Thanks for looking into this. Will see how we can add support for this once our first universal release is available.

the2003s commented 10 years ago

It seems that now the dynamic attributes can be passed along through the Enhanced Ecommerce feature. There is already an open issue regarding this here: https://github.com/fooman/googleanalyticsplus/issues/38. So the current issue would be solved if the Enhanced Ecommerce feature would be implemented...