Pregunta

I'd first like to present two exhibits:

The official documentation for

Now then, what is pertinent here is the former makes mention of a currency field while the latter does not.

Thus far I have been unable to cause GTM -> analytics.js to find and send the currency code along with the item hit or transaction hit.

I have tried:

  • Doing the analytics.js method inside of a custom HTML tag type
    • no events were fired at all
  • Doing the GTM method with a 'currency' field added to the item object, a 'transactionCurrency' field in the transaction object;
    • the transaction and item hits are sent without currency info
  • calling ga( 'set' , 'currencyCode', 'CAD' ) from inside my GTM tag before the transaction and item are fired

I am out of ideas to try. Anyone with a solution or workaround?

¿Fue útil?

Solución

I use the Universal Analytics tag template set to transaction and a custom field "currencyCode" in "Fields to set". This works for me.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top