0 Replies Latest reply on Dec 6, 2018 3:34 AM by thomas.amsler

    Clear Variable for lnk_e and lnk_d

    thomas.amsler Level 3

      We configured the Analytics Extension to automatically track exit and download links for certain domains and extensions respectively. There is also a doPlugins which adds some events and eVars to these with something like this:

      if (s.linkType === 'd') {
          // set some eVars and events
      } else if (s.linkType === 'e') {
          // set some other eVars and events
      }
      

       

      This works fine, but as this isn't a rule where I have full control over the actions, events and evars set here, are repeated with the next rule that is fired. We created all the rules with the Clear Variable action at the end, but now it seems, we should have put it first, before setting the new variables. Is this the only way to make sure these eVars and events are cleared before the next rule fires? Or is there a way to tell the Analytics Extension to clear variables also for these two automatic link trackings?