How to enable ASA for a page or page hierarchy

The PortalBuilder2 theme generates asa metadata in page by default, but you will have to enable collecting and sending the page level data source to URL.

You can enable ASA at a page level by adding a asa_aggregator page level property like this, value of the property will be equal to name of the JavaScript file that has the code to collect and send information



In my case i am using the asa_samples.js aggregator provided by WebSphere Portal.

Once the asa aggregation is enabled and if you did not change the URL where the data should get submitted then it will "ASA Tracking image" text at the end of the page like this


In my case i changed the value of trackingImg in the asa_sample.js like this

var trackingImg = "http://localhost:10039/trackingservlet/tracking.gif";


I am planning to create my own trackingServlet that will be deployed in the same portal server. After i made this change i can see that the portal is submitting data to the servlet like this



I dont have the trackingServlet ready yet so its getting HTTP 404 error.

It seems that the THeme structure is changed completely in the WPS 70 and we are supposed to use WebDav for making theme changes, but i am not able to use WebDav for connecting to portal, so i searched for where is asa_samples.js and it seems that the portal keeps copy of it in WebSphere\wp_profile\temp\wpnotes\WebSphere_Portal\JCRFileStore\filestore\fs-type1\themes\PageBuilder2\js folder like this. I changed that file directly and it worked

4 comments:

srjwebsolutions said...

We are leading responsive website designing and development company in Noida.
We are offering mobile friendly responsive website designing, website development, e-commerce website, seo service and sem services in Noida.

Responsive Website Designing Company in Noida
Website Designing Company in Noida
SEO Services in Noida
SMO Services in Noida

Vikas Chaudhary said...

Battery Mantra is Authorized exide car battery dealer in Noida and Greater Noida. We are providing our service in Indirapuram, Delhi, Ashok Nagar.

Exide Battery Dealer in Noida
Battery Dealer in Noida
Authorized Battery Dealer in Noida
Car Battery Dealer in Noida
Car Battery Dealer
Exide Battery Dealer

Vikas Chaudhary said...

Battery Mantra is Authorized exide car battery dealer in Noida and Greater Noida. We are providing our service in Indirapuram, Delhi, Ashok Nagar.

Exide Battery Dealer in Noida
Battery Dealer in Noida
Authorized Battery Dealer in Noida
Car Battery Dealer in Noida
Car Battery Dealer
Exide Battery Dealer

EG MEDI said...

Egmedi.com is online medical store pharmacy in laxmi nagar Delhi. You can Order prescription/OTC medicines online.
Cash on Delivery available. Free Home Delivery


Online Pharmacy in Delhi
Buy Online medicine in Delhi
Online Pharmacy in laxmi nagar
Buy Online medicine in laxmi nagar
Onine Medical Store in Delhi
Online Medical store in laxmi nagar
Online medicine store in delhi
online medicine store in laxmi nagar
Purchase Medicine Online
Online Pharmacy India
Online Medical Store