- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
Is there a way within an extension to check if two variables have equal values?
I'm trying to stop Google Analytics from firing a transaction everytime the confirmation page is reloaded.
My strategy would be to create a persist data layer extension that grabs the order ID and keeps it for the Visitor, refreshing it on pageview, and then creating a set data values extension that would set the enhanced ecommerce action to empty (instead of purchase, which is in utag_data on the confirmation page) when this cookie is equal to the order ID.
Please let us know if you have any other questions.
Copyright All Rights Reserved © 2008-2023