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
Solved! Go to Solution.
Views
Replies
Total Likes
is it suggested using _satellite.pagebottom in one page multiple times or not
Views
Replies
Total Likes
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 ?
Views
Replies
Total Likes
it is a onclick overlay(if i click a button one overlay will be displayed) . we are using synchronous call
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
You mean say i can call many times _satellite.pagebottom in my code
Views
Replies
Total Likes
Yes you can
Views
Replies
Total Likes
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
Views
Replies
Total Likes
You just have to prevent to send bad dimensions or events populated for previous pageBottom
Views
Replies
Total Likes
is it suggested using _satellite.pagebottom in one page multiple times or not
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Hi,
I would not use satellite.pageBottom multiple times on a page. If you do, it will help trigger multiple page view tags.
It should be set once.
Views
Replies
Total Likes
Ok but how do you do that?
Personally, I trigger a _satellite.track and inside it, I use s.clearVars();and then _satellite.pageBottom();
Views
Replies
Total Likes
pageBottom is to help DTM understand the loading of the page. However, it will also help trigger your page view ( i.e. s.t() ).
Adding it multiple times, will constantly trigger a page view. I would rather use the .track which will then help you call a direct call rule.
I see that you are using the clearVar function. FYI, see the latest notes (AppMeasurement for JavaScript ) as Adobe has now introduced call backs functions that will allow you to clear your vars
Views
Replies
Total Likes
Hi Jerome, thanks for your answer.
I agrre: having multiple "pageBottom" will trigger multiple hits of page view. It's not what we want.
Personnaly, I didn't mean to trigger pageBottom multiple times.
What I meant is: I trigger one pageBottom at each page load (using a track and a clearVar before). But I have multiple "page load rules" that are triggerred by the unique pageBottom call. Those rules are applied or not according to the filters set inside each rule.
So I have only one hit for Analytics but from many rules with different filters...
Views
Replies
Total Likes
Hi GaMeur1,
Just want to add here that Page Load rules do not fire individual hits and just populate the variables to be sent through the call initiated by the Analytics tool in the web property. The Analytics tool fires the hit once _satellite.pageBottom() is called.
_satellite.track() is a separate function to call Direct Call rules and that can/can't fire a hit based on it's configuration. Here is an article regarding the same:
Views
Replies
Total Likes
This is not the correct answer that is a question....
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies