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

SOLVED

DIL Vs JS

AEM_Forum
Level 10
Level 10

Hi,

DIL itself is a JS library, used for AAM.

JS is used for AA.

1. Is DIL a super set of JS? What exactly is the difference between these two?

2. Could AA interpret DIL?

3. If AA is connected to the site and AAM is connected to AA, will DIL traverse through AA to AAM?

If AA does not understand DIL, will this work?

Appreciate your responses.

Thanks,

Rama.

1 Accepted Solution
Varun_Kalra
Correct answer by
Community Advisor
Community Advisor

Hi Rama,

DIL.js is used for AAM, appmeasurement.js is used for AA, both are JS files. you can name it anything. It is not mandatory to name it exactly DIL.js or appmeasurement.js you can name the file anything as per your convenience, but both are written in JS (javascript).

1. DIL is not a superset of JS, DIL is written in JS,

2. DIL code can be placed in the same file where you have AA appmeasurement code. DIL starts receiving data when you add this code in custom DIL : siteCatalyst.init

3. There is no need for AA to understand DIL, the main function of DIL is to collect data from front end site/app and also from AA or GA (google analytics) and send that to demdex servers (AAM).

Thanks,

Varun Kalra

View solution in original post

1 Reply
Varun_Kalra
Correct answer by
Community Advisor
Community Advisor

Hi Rama,

DIL.js is used for AAM, appmeasurement.js is used for AA, both are JS files. you can name it anything. It is not mandatory to name it exactly DIL.js or appmeasurement.js you can name the file anything as per your convenience, but both are written in JS (javascript).

1. DIL is not a superset of JS, DIL is written in JS,

2. DIL code can be placed in the same file where you have AA appmeasurement code. DIL starts receiving data when you add this code in custom DIL : siteCatalyst.init

3. There is no need for AA to understand DIL, the main function of DIL is to collect data from front end site/app and also from AA or GA (google analytics) and send that to demdex servers (AAM).

Thanks,

Varun Kalra

View solution in original post