Method Calls and Monetate Features Unlocked
each monetate javascript api method offers benefits you can use in the experiences you build furthermore, each method you use unlocks more who behavioral targets https //docs monetate com/docs/types of who targets#behavior targets under each corresponding section more targeting options become available as you provide the platform with more data through each method the following information includes examples of best practices if you have any questions, submit them using the product related methods attribute values for products details ( addproductdetails docid\ zlbul8ibxhdealdjwtmus ), cart, and conversion are stored historically against the customer profile however, attribute values for products ( addproducts docid 3pjolbdlnpr npnube34u ), page types, and custom variables are not stored and are page temporal addproducts use this method docid 3pjolbdlnpr npnube34u to add products that the customer views on index or search results pages who targets unlocked none action conditions unlocked product list page > list page includes thumbnails where pid = product list page > list page doesn't include thumbnails where pid = addproductdetails with this method docid\ zlbul8ibxhdealdjwtmus you can create an experience that targets customers who have viewed a certain product during their current visit using it also unlocks advanced product recommendations https //docs monetate com/docs/recommendations features the addproducts docid 3pjolbdlnpr npnube34u and addproductdetails docid\ zlbul8ibxhdealdjwtmus methods are not limited or tied to product or index page types and can be used to target any page type as long as the relevant product ids are sent to the platform these methods are tied to the pid information sent to the platform and are independent on the page type sent via the setpagetype docid\ smkhqb02vpvms rhqi3iw method in the action conditions listed, you can use conditions that require pids on any page type they aren't tied only to index, search, or product page types who targets unlocked product viewed product viewed last visit product viewed this visit sku action conditions unlocked product detail page > detail page includes products where pid = product detail page > detail page doesn't include products where pid = addproductdetails with a product catalog this method docid\ zlbul8ibxhdealdjwtmus allows you to create an experience that targets visitors who have viewed a specific brand or category who targets unlocked brand in cart brand last purchased brand purchased brand viewed brand viewed last visit brand viewed this visit category in cart category last purchased category purchased category viewed category viewed last visit category viewed this visit viewed product out of stock action conditions unlocked product detail page > detail page includes products where category = product detail page > detail page doesn't include products where category = site related methods setpagetype this method docid\ smkhqb02vpvms rhqi3iw allows you to run an experience on all page types using action conditions https //docs monetate com/docs/action conditions who targets unlocked none action conditions unlocked page type = page type ≠ addcartrows this method docid\ y wcmrn 146quote7njft allows you to create an experience that targets customers who have a certain product or amount in their cart who targets unlocked abandoned cart amount in abandoned cart amount in cart average order size product in abandoned cart product in cart quantity in cart action conditions unlocked cart value < cart value ≤ cart value > cart value ≥ addpurchaserows this method docid\ fnv9uukqmkglidpgca 5z allows you to create an experience that targets customers who have purchased any product in the past who targets unlocked days since last purchase last order size product last purchased product purchased product purchased in past days purchase frequency purchased any product purchases in past days action conditions unlocked none addconversionrows this method docid 1j1lqhnzrckamahpz79il allows you to create an experience that targets customers who've completed a non monetary conversion on your site who targets unlocked days since last purchase last order size product last purchased product purchased product purchased in past days purchase frequency purchased any product purchases in past days action conditions unlocked none addcategories this method docid\ l1mhr g5a0rk8zc3l ur adds page categories that the customer views who targets unlocked none action conditions unlocked page category contains page category doesn't contain page category = page category ≠ page category starts with page category doesn't start with page category ends with page category doesn't end with addbreadcrumbs this method docid\ pvve37ya7ozkdxksn ies adds a site navigation breadcrumb trail for the customer who targets unlocked none action conditions unlocked page breadcrumb contains page breadcrumb doesn't contain page breadcrumb = page breadcrumb ≠ page breadcrumb starts with page breadcrumb doesn't start with page breadcrumb ends with page breadcrumb doesn't end with addpollforelement this method docid\ cxbw4avoxzhjfkh15d53y adds a delay to the trackdata docid\ gcm0h169gurcqmv6sbota call until some element on the page exists who targets unlocked none action conditions unlocked none addsearch the searched and also purchased https //docs monetate com/docs/recommendation algorithms#searched and also purchased premium recommendation algorithm requires you to implement one or two addsearch docid\ pe7fiv2l53ntpxpwj4pla methods to send customers' search query data for use with a recommendation strategy configured with this recommendation algorithm who targets unlocked none action conditions unlocked none trackdata this method docid\ gcm0h169gurcqmv6sbota sends data that's been pushed to the monetateq docid\ jt7o1lq8autjhfolknlnv array who targets unlocked none action conditions unlocked none trackevent this method docid\ wrgs0ucdhibkv3zxwjiyd indicates an event has occurred on your site who targets unlocked none action conditions unlocked none setdebug this method docid\ icbq4wkfqa5onasrdbfeh enables debugging for the monetate javascript api so that you can see console errors who targets unlocked none action conditions unlocked none removedebug this method docid\ he2bdtmngenxtxpsx3tac disables debugging for the monetate javascript api if you had enabled it with the setdebug docid\ icbq4wkfqa5onasrdbfeh method who targets unlocked none action conditions unlocked none