Articles
Does Monetate Affect Page Load Time for My Site?
Site Speed and the Monetate Tag The Monetate tag remains as streamlined and efficient as possible and is optimized to deliver only necessary compiled code to site visitors for the experience(s) they qualify for. While load time is high...
Third-Party Cookies vs. First-Party Cookies
Cookies are small files stored locally on your computer that are designed to hold data specific to a particular client and website. Cookies can be accessed by a server or a client computer. Cookies allow the server to deliver a page tailored to a ...
Action Slotting
To prevent duplicate actions from firing, Monetate actions have slots. Slotting enables action prioritization. If two actions have the same slot, only the action with the highest priority displays. How Monetate Defines a Slot A standard actio...
Combine Multiple Monetate Actions
Within a single experience, you can combine multiple actions in many ways. Actions can run in a specific order or target one another in combinations to create interactive user experiences. One of the most common use cases for using multiple actions...
HTML Action Tips and Tricks
Insert vs Edit Actions You have two options to edit existing content with an action on your site: Edit actions that change a current element, and Insert actions that replace an element with a new one. While both action types can achieve the same ...
CSS Action Tips and Tricks
Before you write CSS in actions, you should understand how CSS hierarchy works and how Monetate can use CSS actions within this hierarchy. Different levels of CSS include browser default CSS, external stylesheets, internal stylesheets, and inline...
Use a Failsafe or Fallback Selector List When Building Actions
The Element Selector is the cornerstone of most actions. This input is present in the majority of action types that insert new content or edit existing content. Each site is unique and presents distinct challenges for development. Some sites may ha...
Global CSS Styles
After a user qualifies for an experience, they receive action content that consists of various changes, insertions, and the removal of content on the page. Most actions have an optional input to include "global" CSS styles. The optional ...
Use JavaScript to Poll for Necessary Resources
Timing Issues In a very basic sense, a timing issue is when you attempt to use a library (like jQuery), a selector, or another resource before it has fully loaded. Timing issues are a constant concern for developers. Ensuring resources are avail...
Monetate and iFrames
Monetate can use an inline frame, iFrame, within actions and within an experience—but with some caveats. Monetate actions work by default within iFrames if the iFrame content is on the same domain as the site on which you have implemen...
Detach Node Action
The Detach Node action entirely destroys a node or element, including any child elements it contains. The node is completely removed from the DOM (Document Object Model, the rendered webpage content). Detach Node is entirely unlike a Hide actio...
Accessibility Compliance Best Practices
HTML Structure and Style The best screen readers use natural voices and alter tone and inflection based on HTML tags, so choose layout elements carefully. Properly structured semantic HTML is far easier to interpret than poorly structured HTML. F...