addEventPropertiesfunction call creates a data layer property. That property will now be sent with all events going forward. As an example, you can call
pricing planproperty will now have the value
removeEventPropertyis called or
addEventPropertiesis called with a new value of
pricing plan. When you call
addEventPropertieswith a new value of
pricing plan, that value will overwrite the existing value.
addPageviewPropertiescall let's you create data layer properties that are sent until the user leaves the current page. Once the user leaves the current page, any properties created with
addPageviewPropertieswill now longer be sent. As an example, the call:
product namewith the value
diamond ringand the property
pricewith the value
100as as part of all events that occur on the current page. Once the user leaves the current page, the
priceproperties will no longer be sent.
addPageviewPropertiesshould be used for any properties that are specific to the page the user is currently on.
addInitialEventPropertiescall works like
addEventPropertiesexcept it will not override a property if that property already has a value. As an example, if you want to attach the initial page a user landed on as a property, you can do that like so:
addInitialEventPropertiesagain with a different value of
initial landing page, the property
initial landing pagewill still be set to
removeEventPropertyapi method. The call
pricing plangoing forward.
titleproperty of React Native buttons, allowing you to define a CSS selector like so:
freshpaintOptionsargument to the component class with the attributes you would like to whitelist or blacklist. For example, if you have a functional component like:
argproperty by adding the following bit of code:
freshpaintOptionsproperty of the class like so: