Skip to content

Latest commit

 

History

History

logRequestsToConsoleTask

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

ReturnoftheCustomTask

LogRequestToConsole Task

This task will print the current request state to the console. Useful for debugging pourposes.

Parameters

This task doesn't accept any parameters.

Usage

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
 ]
});