question

Davide M. avatar image
Davide M. asked ·

retrieve metadata from a page using UEM

Hi all,

I am trying to capture the metadata using UEM.

Most of the pages I need to check belongs to 2 differents families: CATALOGO and PRODOTTO

These pages are recognizable using dataLayer variable. Below the code:

The UEM has been configured in this way:

And two differents measures has been created:

I used these measures into a BT as a Filter or as a Split Result but didnt work as expected.

Can you help me to understand where it fails?

Thanks in advance,
Davide

appmon7.0uemappmon 7business transactionmeasuressystem profile
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Alexander R. avatar image
Alexander R. answered ·

Hi Davide M,

I think that you dont need to use transformation regex on mypageTypeArray1.

You need to use this option if you have this situation:

some_prefix_PRODOTTO some_prefix_CATALOGO

In this case you need use this option like "some_prefix_(.*)

In my example to get in splittings numbers like "25" i need set this settings:

=============================================

I try test this case. For me it works:

This is my test page:

<script type="text/javascript">
	var login_array = ["test_a25", "test_b13", "test_b14"];
</script>

In google chrome (f12 -> console) i write this code -> to get all variables from my page. (I recomended use this code to get variables and correct names of variables.)

(function ()
{
   var keys=Object.keys( window );
   for (var i in keys)
   {
      if (typeof window[keys[i]] != 'function')
      console.log(keys[i], window[keys[i]]);
   }
})();

I got my array and correct name of splitting variable: login_array[0]

Then i set this settings in AppMon:

In "Visit -> User Actions" i saw this:

Then i created this splitting measure:

And set trhreshold Exceeds or equal [1] num.

Then create BT, We need checkbox calculate BT per "User Action", it is important:

For me it works, result here:

I hope, it will help you.

Regards,

Alexander


1.jpg (10.3 KiB)
2.jpg (9.2 KiB)
3.jpg (19.7 KiB)
4.jpg (14.6 KiB)
5.jpg (51.6 KiB)
6.jpg (101.4 KiB)
7.jpg (32.6 KiB)
8.jpg (14.8 KiB)
1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

thank you Alexander, I really appreciated!
Removing my "Transformation regular expression" solved the issue!

0 Likes 0 · ·
Davide M. avatar image
Davide M. answered ·

(probably) a good news...

when I use appmon web, clicking on a user action the metadata ID (in the meanwhile I changed the name) is correctly showed.

I'm still trying to use this as a spilt result in order to obtain something similar:

CATALOG PAGES CATALOG PAGES PRODUCT PAGES PRODUCT PAGES
MOBILE DESKTOP MOBILE DESKTOP
First Time to Byte
Visually Complete
Complete Load

Feel free to suggest :-)

Regards,
Davide


detail.png (6.6 KiB)
Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.