satllite.pagebottom and satellite.track | Community
Skip to main content
mohan_babu
March 10, 2016
Solved

satllite.pagebottom and satellite.track

  • March 10, 2016
  • 16 replies
  • 17489 views

Hello All,

I have a doubt i want populate datalayer for a overlayer in that time after setting my data can i call _satellite.pagebottom or _satellite.track. Please advice me

As per standard we have to use _satellite.pagebottom at the close of body tag and what is the difference between  _satellite.pagebottom and _satellite.track and what will be the impact if i use _satellite.pagebottom for setting datalayer value of overlay. Please suggest

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by mohan_babu

is it suggested using _satellite.pagebottom in one page multiple times or not

16 replies

Level 2
March 10, 2016

It depends of your application :

- The overlayer is an UX exception or are there a lot pages displayed like that ? 

- The DL is updated sync or asynchronously ?

mohan_babu
March 10, 2016

it is a onclick overlay(if i click a button one overlay will be displayed) . we are using synchronous call

mohan_babu
March 10, 2016

Mehdi Oudjida wrote...

It depends of your application :

- The overlayer is an UX exception or are there a lot pages displayed like that ? 

- The DL is updated sync or asynchronously ?

 

But my question is below

 

I have a doubt i want populate datalayer for a overlayer in that time after setting my data can i call _satellite.pagebottom or _satellite.track. Please advice me

As per standard we have to use _satellite.pagebottom at the close of body tag and what is the difference between  _satellite.pagebottom and _satellite.track and what will be the impact if i use _satellite.pagebottom for setting datalayer value of overlay. Please suggest

Level 2
March 10, 2016

Ok, so :

Update the data layer and call _satellite.pageBottom(). It is a way to not duplicate what you have configured on page load rules in a direct call rule.

mohan_babu
March 10, 2016

You mean say i can call many times _satellite.pagebottom in my code 

Level 2
March 10, 2016

Yes you can

mohan_babu
March 10, 2016

but as mentioned in some doc it was saying that it has to be placed in the close of body tag 

As you mentioned if i use multiple times in one page is there any impact for tracking or i won't be any impact

Level 2
March 10, 2016

You just have to prevent to send bad dimensions or events populated for previous pageBottom

mohan_babu
mohan_babuAuthorAccepted solution
March 10, 2016

is it suggested using _satellite.pagebottom in one page multiple times or not

ParitMittal
Level 10
March 16, 2016

Hi Mohan, 

You can  use _satellite.pagebottom  multiple times on a page. The only thing that needs to be taken care of is to prevent sending the dimensions or events populated on previous pageBottom.

Thanks & Regards

Parit Mittal