Expand my Community achievements bar.

SOLVED

How to add values in Custom tag 1 in web analytics properties

Avatar

Level 6

Hi ,

 I am trying to add value region and country value in custom tag section under Web analytics properties. In order to differentiate the report in Adobe analytics. I am not able to type anything inside the custom tag field. Is there anything I have to do with Data schema to get this values? How it can be dynamically called for each deliveries?

 

pradeep_07_0-1594394818576.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @pradeep_07 ,

 

You can dynamically add these tag by adding a java script code to Script tab of the delivery activity.

manojk62306941_0-1594398601063.png

 

The code will look like this.

 

delivery.webAnalytics.tag1="TAG_1_VALUE";
delivery.webAnalytics.tag2="TAG_2_VALUE";
delivery.webAnalytics.tag3="TAG_3_VALUE";

 

 

 

Let me know if that helps.

 


     Manoj
     Find me on LinkedIn

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

Hello @pradeep_07 ,

 

You can dynamically add these tag by adding a java script code to Script tab of the delivery activity.

manojk62306941_0-1594398601063.png

 

The code will look like this.

 

delivery.webAnalytics.tag1="TAG_1_VALUE";
delivery.webAnalytics.tag2="TAG_2_VALUE";
delivery.webAnalytics.tag3="TAG_3_VALUE";

 

 

 

Let me know if that helps.

 


     Manoj
     Find me on LinkedIn

Avatar

Level 6
Thanks This really helps. But when you say script tab in delivery activity. where is it exactly? I am not able to locate it

Avatar

Community Advisor
updated the post with screenshot

     Manoj
     Find me on LinkedIn

Avatar

Level 6
Thanks. Will this solution applicable only if we create new delivery right? or we can also update in existing deliveries?

Avatar

Community Advisor
Yes, you can use it in the existing deliveries. Just add the code to existing deliveries.

     Manoj
     Find me on LinkedIn