Mon Oct 21 2024 02:41:38 GMT+0000 (Coordinated Universal Time)
The Optimize Script contains functions that can be utilized. They are located on window.monsido_functions
.
Name | Arguments | Description |
---|---|---|
trackPageview | url?: string | The URL that should be tracked. If empty, it will use the current URL. |
trackEvent | eventCategory: string, eventAction: string, eventName: string, eventValue?: number | |
setCookieConsent | None | Set consent from the user that cookies are allowed. This will create a cookie. |
removeCookieConsent | None | Remove consent from user that cookies are allowed. This will delete the cookie. |
trackSearch | searchString: string, searchCount?: number | Track searches on the website and count the number of results on the search results page. |
If this content did not answer your questions, try searching or contacting our support team for further assistance.