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. |