Tracking catalog product impressions - Enhanced Ecommerce Google Analytics

前端 未结 1 1853
日久生厌
日久生厌 2021-01-12 05:41

I\'m trying to implement product impressions on a ecommerce catalog page using google analytics enhanced ecommerce tracking.

Following the specs one should implement

相关标签:
1条回答
  • 2021-01-12 06:25

    From the Enhanced Ecommerce docs:

    Note: Ecommerce data can only be sent with an existing hit, for example a pageview or event. If you use ecommerce commands but do not send any hits, or the hit is sent before the ecommerce command then the ecommerce data will not be sent.

    Send it with a non-interactive event instead:

    ga('send', 'event', 'catalog', 'impression', {'nonInteraction': true});

    0 讨论(0)
提交回复
热议问题