Expand my Community achievements bar.

SOLVED

Send a static value (Using DTM)

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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

Avatar

Level 8

Hi Kishore,

Were you able to resolve this?

Rahul

Avatar

Level 1

This is resolved. Thanks for your help. 

Avatar

Level 8

Sure. Glad we could help.

Feel free to reach out in future.