Tag dependencies is still in beta, thus it is necessary to use this work-around:

 

  1. {{url}} matches RegEx .* AND event=gtm.dom

Start TagA -> Fires on dom ready (gtm.dom)

-> sends event “header-jquery-loaded” to the dataLayer

dataLayer.push({“event”: “jquery_loaded”}); // CustomHTML

 

  1. Then TagB fires on “donewith_tag_a”

-> sends event “donewith_tag_b” to the dataLayer

dataLayer.push({“event”: “donewith_tag_b”}); // CustomHTML

 

  1. Then TagC fires on “donewith_tag_b”

-> sends event “donewith_tag_c” to the dataLayer

dataLayer.push({“event”: “donewith_tag_c”}); // CustomHTML

 

Source: http://www.cardinalpath.com/controlling-tag-firing-order-with-google-tag-manager/

The tag priorities feature was recently added in advanced setting for onclick events, but this can not be used for AJAX based trigger tracking, then load the next tab events, this requires tag dependencies.

image142

Priority Name Example
0 (default) 1th group of tags header_jquery_loaded
-1 2th group of tags donewith_tag_b
-2 3th group of tags donewith_tag_c

Source support.google.com/tagmanager/answer/2772421?hl=en

Source plus.google.com/113230621681571555872/posts/9hj8kstYciF

0117 3361103