Special scripts and codingNOTE: The code in examples below sometimes includes an additional space for readability. Remove this space if you copy an example for your own use. If you put code on the website, make sure that the page is being displayed properly and features (such as buttons or forms) function properly. The addition of code elements such as mentioned here, can affect the features on the website.
Javascript linksUse these instructions, for example, if you want to analyze visits by visitors who:
These instructions assume that you have installed the Snoobi script.
An example of applying an onclick eventUse this feature to track clicks on a document download, if not already done by the standard Snoobi script:
snoobi.trackPageView (pathParam)
Add the function to the JavaScript event, for example to:
You can include a page name and section as parameters:
<a href="javascript:snoobi.trackPageView('/images/gallery/image1.jpg','pagename,'sectionname');">
Invalid characters
|
[EN] Tracking Special scripts and events Print
Modified on: Thu, 14 Oct, 2021 at 3:58 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.