Expand my Community achievements bar.

Capturing Page URL and Page View using embed script only in Web SDK implementation

Avatar

Level 2

Hi All,

 

In one of the website, we have put only the embed script only (no data layer is there). Using AEP web-sdk as implementation. In reports getting unique visitors, visits, bounces. Also exits and downloads as click data collection is enabled in AEP web-sdk.

 

What about page view and page url as it is not getting captured. In XDM schema, do i need to send page url value explicitly ? as i have read some where it gets captured automatically.

 

Below is the XDM schema which is created -

Parth_Gupta_2-1718112988301.png

 

And the rule look like this -

Parth_Gupta_0-1718112581298.png

 

Parth_Gupta_3-1718113080088.png

 

Am i missing something ? or we cannot to do this without data-layer in web-sdk?

 

1 Reply

Avatar

Level 8

Hi @Parth_Gupta ,

from a high level it looks ok. The URL is marked with an asterisk * which means the value is automatically generated for you.

 

Which value is set on the "web.webPageDetails.pageViews.value"? Is it set to 1?

 

Also, when you filter your network requests for /ee which are the Edge network requests, can you see any request going out at all?

 

Cheers