Expand my Community achievements bar.

SOLVED

DTM Footer Code

Avatar

Level 1

Hi All,

I want to know what is the role of _satellite.pageBottom() i.e. Footer code in our pages? 

What will happen if I remove only footer code from my webpages?

What will be its effect on data collection.

I see my stellite code is triggering if i remove those codes.

 

Thank You 

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Removing the page bottom embed code would result in an unsupported implementation. Some DTM functions may not function at all (Ie anything firing at bottom of page).

Can I ask why you'd like to remove the page bottom call?

Cheers,
Jantzen

View solution in original post

4 Replies

Avatar

Level 7

The pageBottom tag allows for page bottom rules to be run and for much more granular timing of rules to be fired.

Avatar

Level 1

If possible Please elaborate more on granular timing of rule ?

Avatar

Correct answer by
Level 10

Hi,

Removing the page bottom embed code would result in an unsupported implementation. Some DTM functions may not function at all (Ie anything firing at bottom of page).

Can I ask why you'd like to remove the page bottom call?

Cheers,
Jantzen

Avatar

Level 3

Hi,

for example, you could want to trigger page load rules only when you say a page is loaded, so you would like to trigger _satellite.pageBottom outside of the source code of each page. Best example : website as Single Page Application that doesn't really load a page each time but rather update the content...

See also this thread: DTM change pageBottom() behavior or else add a new/custom callback event