monetateQ— This array contains the necessary instructions for collecting and storing data in the appropriate format to send to Monetate. You must initialize this method on every page that you want to send data to Monetate. The
monetateQarray collects and holds all relevant data for Monetate until it's ready to be sent when you call the
trackData— This method sends the information from the
monetateQarray to Monetate. Call
trackDataafter all information has been stored in the array. You can call
trackDataagain if any changes are made to the page after the page loads.
monetateQ in the page template directly after the Monetate tag
trackData method sends data to Monetate. Place it at the bottom of the page after all other content has been loaded and relevant information has been added to
|When you call
trackData more than once because major elements or content on the site has changed (for example, on a single-page application), you must resend all the data to Monetate, including the page type.