toodz
toodz

Reputation: 11

Adobe DTM - is it possible to set custom query string parameters

we're are trying to match the data collection from our pre-DTM tag manager. We had custom data for the Adobe Analytics pev2 query parameter. Specifically, set to the same variable as the eVar and the Prop. I have tried setting s.pev2 in custom page code in the AA section of DTM without success.

var trackingString = s.pageName + '|page_nav|' + this.href;
s.linkName = trackingString;

Am I headed in the right direction, or is it not possible to customize this parameter?

Upvotes: 0

Views: 732

Answers (2)

toodz
toodz

Reputation: 11

By chance, I discovered that selecting Custom Link in the Link Tracking portion of the Adobe Analytics section. Then setting the Link Name field to my trackingString variable sets the value of pev2.

Upvotes: 0

RudiShumpert
RudiShumpert

Reputation: 66

You are headed in the right direction, but the approach is off.

You should create a Data Element within DTM to create the value that you want to place into the variable. Then use that Data Element to populate that var.

Upvotes: 1

Related Questions