Skip to Content
author's profile photo Former Member
Former Member

Web Dispatcher - call script or inject script into page

Hi,

We need to execute a javascript into every html paged called from NW ABAP or JAVA for web analytics tracking purposes. The ideal would be to inject this inside the tags. For example: >


I was wondering if the Web Dispatcher might be able to do this? I was looking at the icm/HTTP/mod_<xx> parameter to see if that could be used in some way, but not sure if this is an option.


Any ideas how we can do this?


Thanks!



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 12, 2016 at 08:50 PM

    Hello Adriaan,

    As far as I know, it is not possible to manipulate the HTML response with the Web Dispatcher.

    With the icm/HTTP/mod_X parameter you can manipulate HTTP headers, the URL, cookies, but not the HTML content.

    Regards,

    Isaías

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.