GA code snippet in DTM's .js file, even when no GA integration is done in DTM? | Community
Skip to main content
adwait_krishna
Level 2
October 16, 2015
Solved

GA code snippet in DTM's .js file, even when no GA integration is done in DTM?

  • October 16, 2015
  • 1 reply
  • 2336 views

Hi,

In our e-commerce domain, we have implemented two web analytic tools: Google Analytics and Omniture.

But we are encountering a strange problem in Adobe's Dynamic Tag Management (DTM). We have not integrated GA through DTM and GA has been implemented traditionally without any tag management solutions. But Omniture has been implemented using DTM.

When we are looking into GA's reporting console, we see revenue data coming in (related to transactions on our site). But nowhere on the pagecode we have 'addTrans' function written (which is GA's function to implement e-commerce transaction). When we drilled down further, we saw this 'addTrans' function in Adobe DTM's .js file. Here is snippet of that code (in DTM's .js):


`this.call("addTrans",t,n,[r.orderID,r.affiliation,r.total,r.tax,r.shipping,r.city,r.state,r.country])`

Also, please see the attached screen shot for this.

Along with this, we also have other GA related functions mentioned in this DTM's .js file. For eg: `_gaq.push`.

We are really wondering, how come this is coming in Adobe's DTM .js file when we have not done anything related to GA in DTM (Except few re-marketing pixels, like those related to floodlight or double clicks, have been included in DTM's 'Javascript / Third Party Tags' in Page Load Rule) 

Is GA related code already there in DTM's .js file (and when we leverage DTM to implement GA, it becomes active) ? Not sure.


Please help.

 

Thanks in advance,

Adwait

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 jantzen_b

The code may have been included in the main DTM javascript library. With that said, we've now moved to Experience Platform Launch which is much more modular and shouldn't have this same issue. Feel free to read more about it here

You can also come on over to the Launch community and ask any questions you might have.

1 reply

jantzen_b
Adobe Employee
jantzen_bAdobe EmployeeAccepted solution
Adobe Employee
April 23, 2020

The code may have been included in the main DTM javascript library. With that said, we've now moved to Experience Platform Launch which is much more modular and shouldn't have this same issue. Feel free to read more about it here

You can also come on over to the Launch community and ask any questions you might have.