Path Prop Implementation in DTM

Bsmith320

16-02-2016

How do I implement a path prop using DTM? I have turned on pathing for the prop in Sitecatalyst, but I am not sure what the next steps are.

He is the implementations steps I followed:

Here is the implementation steps I took. Prop 22 has pathing enabled and the data element name is “Pathing”. 

1. I created a custom script data element. Below is the code I added to the custom script global section. 

* s.linkTrackVars=“prop22,prop7,prop10,prop11,prop12,prop13,prop14,prop15,prop16,prop17,prop18,prop31,prop34”; 

2. In the Global Variable section I added prop22="%Pathing%" 

3. Here is the error message I am getting Uncaught ReferenceError: s is not defined 

Thank you,

 

Bill

Accepted Solutions (1)

Accepted Solutions (1)

AlexisCazes

MVP

25-02-2016

Hi Bill,

1.Pathing for a prop is processed on the backend. You just have to enable it in Adobe Analytics interface for the prop, then simply send your distinct values in Adobe Analytics image request. Pathing is basically how did the value evolve from image request to image request in a visit.

Here are some documentation:

https://marketing.adobe.com/resources/help/en_US/reference/pathing.html

https://marketing.adobe.com/resources/help/en_US/sc/implement/pathing.html

https://marketing.adobe.com/resources/help/en_US/reference/pathing_gloss.html

2.Regarding s.linkTrackVars, this variable is only needed if you want to use custom link tracking, s.tl() call

3.Regarding your error and your code, would you mind provide me the following details:

Website URL to test:

DTM company:

DTM web property:

I will take a look and provide you a solution.

Please bear in mind that Adobe Analytics tool in DTM has the analytics object s as local.

Code to get local analytics object:

_satellite.getToolsByType('sc')[0].getS()

Best regards.

Alexis Cazes.

Lead Technical Support Engineer

Answers (0)