Miva,
I just notice my GA has stopped collecting transaction data and by tracing it back it looks like it's around the same time I upgraded my cart. From the scripts history, I was able to see that the upgrade put an additional if/then statement around the last line of code. It looks like some kind of error handling but not too sure. Can someone explain if I need this and if so, how I can get my GA to collect transaction data again.
<mvt:if expr="NOT g.UI_Exception">
ga( 'send', 'pageview', { 'page':'/<mvt:item name="ga_jsencode" param="ga_tracking:url_override_unencoded" />' } );
</mvt:if>
I just notice my GA has stopped collecting transaction data and by tracing it back it looks like it's around the same time I upgraded my cart. From the scripts history, I was able to see that the upgrade put an additional if/then statement around the last line of code. It looks like some kind of error handling but not too sure. Can someone explain if I need this and if so, how I can get my GA to collect transaction data again.
<mvt:if expr="NOT g.UI_Exception">
ga( 'send', 'pageview', { 'page':'/<mvt:item name="ga_jsencode" param="ga_tracking:url_override_unencoded" />' } );
</mvt:if>
Comment