Adobe Analytics - Create a new dimension | Community
Skip to main content
Level 2
Jan 30, 2018 3:31 AM UTC

Adobe Analytics - Create a new dimension

Hi,

We wanted to create a new dimension in Adobe Analytics. Below is the use case,

We have two dimensions - Referrer and Referring domain. Referrer gives the complete URL (document.referrer) where as Referring domain gives the parent domain. For example if the referrer is https://www-1.ibm.com/portal/web-services, Referring domain gives ibm.com instead of www-1.ibm.com.

We wanted to have a dimension which gives the complete domain name. For example, if the referrer URL is

https://www-1.ibm.com/portal/web-services , we needed a dimension (available in an prop variable) that gives www-1.ibm.com

Could you please suggest whats the right place to do this and make it available in adobe analytics report suites?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

SarahEOwen
Level 9
Jan 30, 2018 6:31 PM UTC

Hi -

To get this information, you would assign location.hostname to your prop. For example, your code would look like this --> s.prop1=location.hostname;

Here is a helpful article that tells you how to get the various pieces from the URL: JavaScript Window Location

And here is a visual of using location.hostname to get the domain name from a page on Adobe's webiste:

Have a great day -

Sarah

Translate
Apps2015Author
Level 2
Jan 31, 2018 4:16 AM UTC

Thanks Sarah.

question was more into how we can create a custom dimension from the captured data. Your reply was more into how we can derive the host name from application and send it to analytics servers.

Translate
Hyder_Ziaee
Employee
Jan 31, 2018 9:28 AM UTC

unfortunately, you cannot directly use the default reports for that.

One way to go about this would be through Report Builder. You can generate the reports in Excel and then consolidate using excel formulae.

Translate