Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a ViewTool to retrieve the CA data #29866

Closed
Tracked by #29477
freddyDOTCMS opened this issue Sep 4, 2024 · 2 comments · Fixed by #30118
Closed
Tracked by #29477

Create a ViewTool to retrieve the CA data #29866

freddyDOTCMS opened this issue Sep 4, 2024 · 2 comments · Fixed by #30118

Comments

@freddyDOTCMS
Copy link
Contributor

Parent Issue

#29477

User Story

We need to create a ViewTool to retrieve CA data. This ViewTool will allow us to run a query directly on the CA data. To do this, we'll create a ViewTool that utilizes the utility method created here #29865

Acceptance Criteria

New ViewToll be ready to use

Proposed Objective

Core Features

Proposed Priority

Please Select

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@dsilvam dsilvam changed the title Create a ViewToll to retrieve the CA data Create a ViewTool to retrieve the CA data Sep 4, 2024
@jdotcms jdotcms self-assigned this Sep 23, 2024
@jdotcms jdotcms linked a pull request Sep 24, 2024 that will close this issue
jdotcms added a commit that referenced this issue Sep 25, 2024
jdotcms added a commit that referenced this issue Sep 25, 2024
jdotcms added a commit that referenced this issue Sep 25, 2024
jdotcms added a commit that referenced this issue Sep 25, 2024
jdotcms added a commit that referenced this issue Sep 25, 2024
@freddyDOTCMS freddyDOTCMS assigned freddyDOTCMS and unassigned jdotcms Sep 27, 2024
@freddyDOTCMS
Copy link
Contributor Author

freddyDOTCMS commented Sep 30, 2024

Pass IQA: Work as expected even when we have some point to improve in the Query syntax the ViewTool is working well

Improvement we need in the query syntax:

@freddyDOTCMS
Copy link
Contributor Author

freddyDOTCMS commented Sep 30, 2024

Note to QA: Go to the Dev Tools > Velocity portlet and test with code like this:


#set ($queryMap = {"measures" : ["request.count"], 
                "orders": "request.count desc",
                "dimensions":["request.url", "request.pageId","request.pageTitle"],
                "filters":"request.whatAmI = ['PAGE']"
                })

#set($collection = $analytics.runReportFromMap($queryMap).getResults())

Accessed Pages

#foreach($item in $collection)
   -> Page Title: $item.get("request.pageTitle").get()
   -> Page URL: $item.get("request.url").get()
   -> Page ID: $item.get("request.pageId").get()
   -> Page Count: $item.get("request.count").get()
   
#end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: QA - In Progress
Development

Successfully merging a pull request may close this issue.

3 participants