Support » Plugin: GTM Kit - Google Tag Manager integration » Transaction ID is 0 for all transactions with sequential order numbers in EDD

  • Resolved Napoleão Fusiger Wingert


    Hi there,

    thank you for this plugin!

    We are using the GTM Kit plugin integrated with the Easy Digital Downloads plugin, however, all the purchase events are sent with transaction_id = 0.

    It looks like the reason is that we are using “Sequential Order Numbers” in EDD, with both “Sequential Number Prefix” and “Sequential Number Postfix”.

    So the GTM Kit plugin is casting the order number to int which results in 0 (since the order numbers are strings).

    Would it be possible to provide a quick fix for this?

    If you could take a look please.

    We are wondering if this could be the cause of missing purchase events as well – currently we can see some purchase events when checking GA4 reports, but many purchase events are missing there.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.