Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
pavansonu99
Creator
Creator

Tracking dashboard with jscript

hi Guys,

i have a requirement like i have a jscript with that script i have to track events in dashboard

Capture.PNG

i am getting error for this error "script parse error functionality was lost"

can you guys help me what change can i make to get script ready.

where i will get details like ApplicationID,ApplicationName,ActivityType etc.

how to call those fields in to qlikview dashboard.

i want output like this

Example of page accessed

      ******************     *

EventAction: 'Page acessed',

ActionDetail: 'Test page accessed',

CustomDetail1: 'chindham',

ApplicationID: '11111',

EventID: 'EventID Just page accessed'

3 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Where are you putting this code?  From the error message you posted, it looks like you are putting it the module. That will not work.

On the subject of user tracking, have you looked at turning on Audit Logging on the QMC logging tab?

-Rob

pavansonu99
Creator
Creator
Author

i am placing this code in macros JScript.

I want tracking from this jscript code

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

In the macro Module, you do not have access to the browser document object.  For the kind of tracking (google analytics) you propose, you will need to create a Document Extension.

Introduction ‒ QlikView

-Rob

http://masterssummit.com

http://qlikviewcookbook.com