Each array in the
monetateQ array contains instructions to add data that Monetate tracks. The first index of each array is the method name. The most common method is
setPageType, which is required in every
monetateQ array to indicate the type of page that the customer is viewing.
All data is sent asynchronously to Monetate by calling the
trackData method. This method takes no arguments. It can be called whenever data is ready to be sent to Monetate.
// Example window.monetateQ.push([ method, data ]);
|Add the |
// setPageType Method window.monetateQ.push([ "setPageType", "main" ]);
// trackData Example window.monetateQ = window.monetateQ || ; window.monetateQ.push([ "setPageType", "main" ]); window.monetateQ.push([ "trackData" ]);
|When you call |