HI,
Actually personally I find IDs not very robusts as any one could remove and add a tag changing the IDs so your code would break. It's also hard to manage in terms of libraries: the tag would have a different ID in every profile. In this instance I would recommend using the trackEvent() method and create your own event for instance ("scroll", "ads_impression", etc..)
You can then go in the template of the tag and add that event at the top
u.ev = {"view" : 1, "link": 1,"scroll":1};
So this means you can whitelist some tags and only the tags with that event will fire when you trigger your call in React.
Hopes this helps
... View more