GoogleChromeLabs / third-party-capital

A library that provides best practices for loading popular third-parties
Apache License 2.0
117 stars 8 forks source link

Add optional parameters in gtm and ga json #58

Closed huang-julien closed 3 months ago

huang-julien commented 3 months ago

Currently, third-partie using GA and GTM are required to use l because it is present in the main script's params array. The issue is that l is not required.

We probably need either schema validation provided by tpc (https://github.com/GoogleChromeLabs/third-party-capital/issues/21) either a field that indicate optional params