This task will print the current request state to the console. Useful for debugging pourposes.
This task doesn't accept any parameters.
You can grab the code for this task from dist/tasks/ folder
var logRequestsToConsoleTask = () => {...}
Then we pass it back as a task.
var GA4CustomTaskInstance = new GA4CustomTask({
allowedMeasurementIds: ["G-DEBUGEMALL"],
tasks: [
logRequestsToConsoleTask
]
});