• Hi Thomas,

    Can you please advise how can I push transactionAffiliation parameter with GTM4WP?

    I want to change affiliation based on the promo code. If the promocode belongs to group1, I want to affiliation to be changeg to “GROUP1”. If there is no promocode or promocode is not from the group1 list, then I want to change it to “GENERAL”.

    I can do the promocode part myself, but can’t figure it out how to push it to transactionAffiliation with GTM4WP.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    Currently, the only solution I could imagine is to catch the gtm4wp.orderCompleted event in GTM with a trigger and us a custom JavaScript variable to read the coupon code and add it to the transactionAffiliation parameter.

    This way, you can do your very own transformation within GTM but you will need JS coding skills to do that.

Viewing 1 replies (of 1 total)

The topic ‘How to push transactionAffiliation parameter?’ is closed to new replies.