Hi @ksugam
A solution to this would depend on how things are setup within your website and Tealium account. Here are some general approaches that will work, but may need to be tweaked depending on your setup.
Method 1
If you know that two tags will fire by default. Once consent is granted, you can specify what tags are triggered in a utag.view() call. It accepts an array of UIDs as one of it's parameters.
utag.view(data object, callback function, array of UIDs)
So if Tags 1 and 2 fire at page load. You can configure your event listener to fire utag.view({data object, null, [3,4,5])
Caveat is that you need to ensure that this function is kept up to date. If you turn off a tag in TiQ and do not update the utag.view call to remove the UID from the array, the call breaks and no tags fire period.
Method 2
Pass an event variable into the utag.view call, then set up a load rule on the 2 default tags to not fire on that event.
Ex. Page loads, Tags 1 and 2 fire > User opts into tracking and click ok > utag.view({"tealium_event": "opt_in"})
Then set up a load rule on tags 1 and 2 within TiQ that only fires the tags when tealium_event does not equal "opt_in")
I prefer method two, but of course, it may depend on how your set up is. Also since Tealium is run on Javascript, if you can think of an alternative solution, a javascript extension is a powerful tool.
Hope this helps!
... View more