Hello,We've implementend dtm on an SPA. In the condition of every rule we have the following scriptvar s = _satellite.getToolsByType('sc')[0].getS();s.clearVars();return true;The strange thing is that for pages with load times with longer load times (more than 4 seconds) we get the following error a...
Hello,We have DTM installed on a SPA platform. The problem I have is that the days since last visit plugin does not seems to work because of the return false function we use to supress the initial page load beacon. This is the customer code we use on tool level: return falses.abort = true;s.usePlugi...
@ParmitIt seems that it has nothing to do with the new libary version. Our website is an SPA and we measure page loads by using event based rules. Each time afunctional page load takes place we generte a random ID in our dataLayer and we use this as a trigger for the page load rule. In this rule I u...
Hello,It appears that after library update the following script which I set in the condition of multiple rules (because our platform is an SPA) is not working anymore. Is there a solution for this?var s = _satellite.getToolsByType('sc')[0].getS();s.clearVars();return true;Regards,Guido
Hello all,I'm working with the W3 dataLayer and want to trigger a rule when a certain product is on the page, but I don't know how I can create a data-element that is based on a array. So for example I have the following dataLayer and I want to trigger a rule when the product name contains laptop. ...
Thanks Parit,I think I'm going to use an EBR to track the page load by making use of the dataelementchanged rule. This seems a more flexible solution and it allows me to add to s.clearvar() function to the conditions as custom code. I've also considered the pushstate hashchange trigger, but this can...
Hello Kaushal,Thanks for the documentation. Is there a way to use the clearvar function in combination with direct call rules, without having to populate the evars and props in custom script, but just by using the standard template?Regards, Guido
Hello,I've set up a rule that based on the change of a data element (page name) sets a event (search). Because the website is an SPA I've created direct rules for measuring 'page loads'. The problem is that the search event is being set in multiple images (in a custom link image and in the 'page loa...