Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Need to include script inside head tag - separate for production and separate for staging

Avatar

Level 1

Hi Team,

Am having a requirement to include a script tag for staging and a different script for production.

This should works on condition. If the url the is accessed from staging environment a script tag should be added and if the same pag is accessed from domain it should take a another script tag.

0 Replies