Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Adding Javascript code to every RoboHelp page

New Here ,
Sep 24, 2010 Sep 24, 2010

Copy link to clipboard

Copied

Hi, I have a tracking software that generates a javascript code that I need to add the web pages. Does anyone know how to automatically add this code to the hundred plus pages in RoboHelp? Is there a global setting that can apply this code to every page or is the only option to manually add the code?

Thanks Much

TOPICS
HTML

Views

481

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 24, 2010 Sep 24, 2010

Copy link to clipboard

Copied

Hi there

You could create a Master Page/Topic Template and define a Header or Footer that contains the code. Then you could select all the topics and associate the Master Page/Topic Template with all the topics to rapidly propagate the code.

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!

Adobe Certified RoboHelp HTML Training

SorcererStone Blog

RoboHelp eBooks

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 02, 2021 Sep 02, 2021

Copy link to clipboard

Copied

LATEST

Thanks for sharing this solution - I also took that way for a cookie management tool embedding but during output generation, that script is put into the <head> twice.

Does anyone know how to avoid that?

 

RoboHelp 2020 on Windows, Frameless output (HTML5).

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation