Method Calls
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 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 {{monetatesupportcontact}} product related methods attribute values for products details ( docid\ zlbul8ibxhdealdjwtmus ), cart, and conversion are stored historically against the customer profile however, attribute values for products ( docid 3pjolbdlnpr npnube34u ), page types, and custom variables are not stored and are page temporal addproducts use 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 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 https //docs monetate com/docs/recommendations features the docid 3pjolbdlnpr npnube34u and 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 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 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 docid\ smkhqb02vpvms rhqi3iw allows you to run an experience on all page types using https //docs monetate com/docs/action conditions who targets unlocked none action conditions unlocked page type = page type ≠ addcartrows 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 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 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 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 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 docid\ cxbw4avoxzhjfkh15d53y adds a delay to the docid\ gcm0h169gurcqmv6sbota call until some element on the page exists who targets unlocked none action conditions unlocked none addsearch the https //docs monetate com/docs/recommendation algorithms#searched and also purchased premium recommendation algorithm requires you to implement one or two 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 docid\ gcm0h169gurcqmv6sbota sends data that's been pushed to the docid\ jt7o1lq8autjhfolknlnv array who targets unlocked none action conditions unlocked none trackevent docid\ wrgs0ucdhibkv3zxwjiyd indicates an event has occurred on your site who targets unlocked none action conditions unlocked none setdebug 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 docid\ he2bdtmngenxtxpsx3tac disables debugging for the monetate javascript api if you had enabled it with the docid\ icbq4wkfqa5onasrdbfeh method who targets unlocked none action conditions unlocked none