Highlighted

Tag with Scoped & All Tags Extension

Silver Contributor
Silver Contributor
I have a tag which has a scoped extension that sets a few values. I also have an extension which is scoped to all tags that I would like to run, but it doesn't appear to do so. Any tags without a scoped extension run without issue. Is this expected behavior?
7 REPLIES 7
Highlighted

Tag with Scoped & All Tags Extension

Employee Emeritus
Are you saying your 'all tags' scoped extension is not running properly?
Highlighted

Tag with Scoped & All Tags Extension

Silver Contributor
Silver Contributor
It runs - but only for tags that do not have another extension scoped.
Highlighted

Tag with Scoped & All Tags Extension

Employee Emeritus

Hi Steve,

 

Ah I understand. No that's not expected behavior. It should run for all tags. Keep in mind though that the All Tags extension will run first, then extensions scoped to tags will run second . That's always the order of operations between these two scopings no matter what order they may appear in.

 

Is it possible the tag-specific ext. is overwriting changes made by the All Tags one?

Highlighted

Tag with Scoped & All Tags Extension

Silver Contributor
Silver Contributor
That is good to know. I was curious which order they would be applied in. But in my case the extension isn't firing at all. I put a debug point at the start of my code in the extension to verify.
Highlighted

Tag with Scoped & All Tags Extension

Employee Emeritus
Hi Steve, that's odd. I would recommend reaching out to your account manager so we can help you take a look at this directly.
Highlighted

Tag with Scoped & All Tags Extension

Silver Contributor
Silver Contributor
Will do. Quick question... Is there anyway to control the order of tag specific extensions? i.e. Always have extension a fire before extension b, where both a and b are scoped to the same tag.
Highlighted

Tag with Scoped & All Tags Extension

Employee Emeritus
If you have extension A and extension B both scoped to Tag UID 5, they will fire in the order they appear from the top down for that tag only. There should be no variance to this. If you find a case where something contradicts this, I would include this in your inquiry to your AM.