Associating custom variables to eCommerces


#1

Hey all,

I am currently setting up custom variables. They show up in piwik, but are not associated to an ecommerce, so I all values are zero.

On one page I store the count of services available

_paq.push([‘setCustomVariable’,‘1’,‘ServiceCount’,“5”]);

two pages later I track the ecommerce, but the custom variable and the ecommerce are not associated :frowning:

Did I forget sth?


(Matthieu Aubry) #2

Maybe you are experiencing bug Custom variables not always set in the conversion when using tracking API · Issue #2564 · matomo-org/matomo · GitHub ? if so, please comment there saying you also experience the issue with your details, I will try and propose a patch in the next few days, thx