zwetan / as3-universal-analytics

Google Universal Analytics for AS3
Mozilla Public License 2.0
73 stars 11 forks source link

support for Enhanced E-Commerce complex indexes #5

Open zwetan opened 9 years ago

zwetan commented 9 years ago

our current data model support only dynamic index at the end of the variable see custom dimensions and custom metrics

for ex: Custom Dimension cd<dimensionIndex>=Sports cd1=Sports

we support it with tracker.set( "dimension1", "aaa" ); // cd1=aaa and tracker.set( Tracker.CUSTOM_DIMENSION(3), "ccc" ); // cd3=ccc

But for the most complex cases of Enhanced E-Commerce like

Product Custom Dimension pr<productIndex>cd<dimensionIndex>=Member pr1cd2=123

Product Impression Custom Dimension il<listIndex>pi<productIndex>cd<dimensionIndex>=Member il1pi2cd3=123

where you can have 2 or 3 (more?) indexes we don't have yet the support