orange-television-64036
06/26/2023, 1:06 PM<script> tags with appropriate attributes, like type="fs-cc" and fs-cc-categories="analytics".
Is there some kind of config / middleware support for this?orange-television-64036
06/26/2023, 1:14 PMrudderanalytics.ready(function() {
// Modify the script tag before it gets inserted into the DOM
rudderanalytics.on("beforeLoad", function(context) {
if (context.integration.name === "Google Analytics") {
var scriptElement = context.node;
if (scriptElement) {
scriptElement.setAttribute("type", "fs-cc");
}
}
});
rudderanalytics.load("WRITE_KEY");quiet-wolf-72320
06/27/2023, 11:48 AMorange-television-64036
06/27/2023, 11:48 AMorange-television-64036
06/27/2023, 11:49 AMRS.load and finetune what's in there.kind-carpenter-27609
06/28/2023, 7:41 AMhigh-zoo-17436
06/28/2023, 8:36 AMorange-television-64036
06/28/2023, 8:41 AMload({categories: ['marketing', 'ads']})orange-television-64036
06/28/2023, 8:42 AMhigh-zoo-17436
06/30/2023, 3:50 AM