As per the GDPR laws have mandated that organisations can no longer rely on passive consent for cookies
But wondering how we can wait for other Third party extension including (Facebook, Twitter, LinkedIn) not to fire on page load but fire only when consent provided.
I'm looking either using OneTrust (Consent management platform / Plain JS ) solution.
Consent Management Platforms (CMPs) like OneTrust or TrustArc store the visitors' opt-in preferences in dedicated cookies. As part of their services, they usually perform a cookie audit and provide an audit spreadsheet. Then, they then ask the website owners to categorize all cookies into different buckets. The terminology differs from vendor to vendor but most of the time, you see at least 3 cookie categories:
Depending on the visitors' preferences, the CMP cookies have different values. I recommend asking the CMP vendor to provide you their documentation. Most CMP vendors already have pre-written implementation guides for GTM & Launch.
Even if they don't have one for Launch yet, the logic is always the same and you can simply Adobe-tize any tag manager implementation guide they have. For instance, Variables in GTM translate to Data Elements in Launch, Tags in GTM translate to Rules in Launch.
What you can do in Launch:
Set up data elements that read the CMP cookies
Use the data elements as conditions in your rules
Type "Regular" - Fire the rule only if the cookies have the necessary values
Type "Exception" - Prevent the rule from firing if the cookies don't have the necessary values