Execute load rules after extensions for a certain tag

Hi,
i want to set some load rules for a tag based on values set in an extension.
Normally I can't because load rules are executed before extensions, right?
I have to set a specific scope to do that?
Thanks,
Alessandro

Execute load rules after extensions for a certain tag

The only other way to get around this is to have a JavaScript extension that is scoped to the tag. Since the extension is scoped to the tag, it will allow your other extensions that set values to run first therefore allowing your JS execution to be ran afterward. You can then "return false" in the JS code which will stop that single tag from running.
{code:js}
// logic to check if my variable does not equal some value
if(b.myvar!="somevalue"){
return false;
}
{code}

Execute load rules after extensions for a certain tag

Hi Jared,
thanks for the answer. In my case preloader scope is not sufficient because that extension it's based on another extension that can't be preloaded. But in any case now I understand more in deep Tealium loading sequence, so preloader will be useful again soon :)

Execute load rules after extensions for a certain tag

Thanks Roshan, great article! Didn't know that new feature.
I'll accept your answer because as you said is the best way to evaluate load rules after, even if Dan solution is working fine for me at the moment.