Expand my Community achievements bar.

SOLVED

Tracking various domain mappings and/or vanity URL's

Avatar

Level 1

How do I set up the basic tracking of a vanity URL or root domain mapping/redirect, for example,  http://rootdomain.com/vanityword?

Does this automatically get captured as a referrer to the page it is pointing at or is there a way to configure a report so I can tell mow much traffic a page is getting from a mapping?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

What I like to do in this case is have the redirect file master take your vanity and append a tracking ID to it.

http://rootdomain.com/vanityword     TO   http://rootdomain.com/URL/level1?ecid=murl0001

2 things can happen here.

You can create a campaign sub break down of MURL/vanity url traffic based on any naming methodology you like. Use SAINT to upload and modify it.

The ID in this case external ID type now can allow you to pass evar data of users journeys after hitting the destination URL(via the vanity) this eliminates issues where server redirects mess up tracking. This is great to show campaign impact on traffic and even subsequent events users fire. Great in creating campaign segments.

Good luck

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

What I like to do in this case is have the redirect file master take your vanity and append a tracking ID to it.

http://rootdomain.com/vanityword     TO   http://rootdomain.com/URL/level1?ecid=murl0001

2 things can happen here.

You can create a campaign sub break down of MURL/vanity url traffic based on any naming methodology you like. Use SAINT to upload and modify it.

The ID in this case external ID type now can allow you to pass evar data of users journeys after hitting the destination URL(via the vanity) this eliminates issues where server redirects mess up tracking. This is great to show campaign impact on traffic and even subsequent events users fire. Great in creating campaign segments.

Good luck

Avatar

Community Advisor and Adobe Champion

Also if you can include DTM or Base SC Code into Vanity, please include the same and do the redirection after the SC Code load or onload. This will also help!

Note that if you do, both vanity and landing URL will be captured as 2 different pages.

Avatar

Level 3

I'm working in AEM 6.3. I'm trying to extend the default behavior of vanity URLs such that the following will happen:

I had extended the base page component (template component)and trying to add a new field for I.D in the dialog so that authors have a authoring field in page properties.

So I'd be extending the default page properties vanity functionality to include an ID.

1) User navigates to vanity URL and is redirected to actual URL

2) ID that is associated (and authorable) is appended to the URL

Example:

Vanity URL: /foobar

ID: 123(authored)

Actual URL: www.test.com/plans

Now when I hit the vanity url it should redirect to:

Resulting URL: www.test.com/plans?123

I've been able to modify the page properties to include a new field associated with the vanity URL in the UI. It doesn't appear to be saving the actual value though.

I can add a completely new multifield with both Vanity and I.D fileds in it but how to make this work and how to append the authored I.D to the URL is what i trying to figure out.