Increase Transaction Insight With 9 Steps In Google Tag Manager

December 23, 2013

Here’s a trick to capture additional information from transactions using Google Tag Manager. Let’s say you have several product categories on your site, and you want to easily see how different combinations sell on the site.

1. Create a Custom Dimension named “Transaction Categories”

relatedcat-step1

2. Push Transaction Information through the DataLayer

relatedcat-step2

3. Track your site with a Tag

relatedcat-step3

4. Create a Macro for “Transaction Products” by grabbing the product array

relatedcat-step4

5. Create another Macro for “Transaction Categories” to cycle through the array and output your list

relatedcat-step5

6. Create a rule “trackTrans” to run with the transaction

relatedcat-step6

7. Create a transaction tag; add a Custom Dimension under More Settings

relatedcat-step7

8. Add a separate Event tag; also passing your Transaction Categories

relatedcat-step8

9. Analyze how different product categories interact

relatedcat-step9

relatedcat-step9-5
relatedcat-step9-4
relatedcat-step9-3

Conclusion

You can use similar methods to concatenate SKUs, pass quantity counts, or track other information on the page.