Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Send a static value (Using DTM)

kishoremcp
Level 1
Level 1

Hi, 

I am new to DTM. I have the below javascript code which i placed in my webpage (index.html). 

<script type="text/javascript">

var analyticsPageData = {

pageName:"Insert Page Name",

UserID:"Kishore"

};

</script>

I have created a data element with Type "JS Object" and set the path as "analyticsPageData.UserID"

Now in Page load rules, I have mapped prop3=%UserID% (UserID is my data element name)

however, when i try to see the end results it is not showing the UserID (prop3 as Kishore but it is showing as D=v3

 

Any body can help me here please. Do I need to change anything in the path or it is something else which I am missing. If it is the path change, what should I keep it?

1 Accepted Solution
m-hmh
Correct answer by
Level 2
Level 2

Just to check, are you copying prop value in eVar3. If not, push the rule once again and wait for some time and do the hard refresh in the browser to test it.

Let me know if that works.

-Muthalagu

View solution in original post

4 Replies
m-hmh
Correct answer by
Level 2
Level 2

Just to check, are you copying prop value in eVar3. If not, push the rule once again and wait for some time and do the hard refresh in the browser to test it.

Let me know if that works.

-Muthalagu

View solution in original post

Rahsing
Level 8
Level 8

Hi Kishore,

Were you able to resolve this?

Rahul

kishoremcp
Level 1
Level 1

This is resolved. Thanks for your help. 

Rahsing
Level 8
Level 8

Sure. Glad we could help.

Feel free to reach out in future.