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
BedrockMission!

Learn More

View all

Sign in to view all badges

<noscript> tag - should it be used?

Avatar

Avatar
Validate 1
Level 1
Neha_Thaker
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Neha_Thaker
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Neha_Thaker
Level 1

07-12-2015

Hi,

We are using DTM to implement Third Party Tags.

Some time we get the third party tags as HTML <script> tags along with <noscript> tags.

As , I understand DTM is a Javascript library, hence <noscript> tag will never be useful. Is this correct?

As DTM will load only when Javascript is enabled.

Hence, it is not meaningful to have <noscript> tag. Is this correct?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 10
ParitMittal
Level 10

Likes

93 likes

Total Posts

817 posts

Correct Reply

349 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
ParitMittal
Level 10

08-12-2015

Hi Neha,

In general it's always useful to use <no script> tag as  <noscript> tag defines an alternate content for users that have disabled scripts in their browser or have a browser that doesn't support script.  Though in DTM , it is not meaningful to have <noscript> tag  as DTM is it's self a Javascript Library . However , <noscript> tag can be useful only if it is added while adding the staging/ production code script on each and every page of the website.Please refer the below snippet of code as an example.

<head>
......
<script src="//assets.adobedtm.com/280730d6732acf1b27f4dabc54536db9fcdae363/satelliteLib-7032f9b2b2d0eac5630c170998701d4153326f8e.js"></script>
<noscript> Javascript is not enabled on the browser Hnece DTM tags will not fire </noscript>
.......

Thanks & Regards

Parit Mittal

Answers (0)