Delay the Adobe Analytics call (after AJAX data is returned)

Avatar

Avatar

_Lukasz_

Avatar

_Lukasz_

_Lukasz_

15-10-2015

How can I make sure that the s.t() that is triggered by DTM by default is called only after data from AJAX becomes available? With s_code, we just simply called s.t() on AJAX success but I'm not sure how to achieve the same gracefully with DTM. The first thing I've tried is to call the _satellite.pageBottom() only on the AJAX success but I discovered that even complete removal of the _satellite.pageBottom() still doesn't prevent the default pageview DTM call (even though the DTM "Load library at" setting is "Page bottom").

Thank you in advance for any help.

View Entire Topic

Avatar

Avatar

LAE

Avatar

LAE

LAE

11-12-2015

I just wanted to add my two cents:  This method worked for me as well. 

I did not have two server calls as Chad did.  Thanks for this answer Alexis!!