How To Remove Query Parameters From Landing Data Element in Adobe Launch
So, Adobe Launch already has a Data Element type called Landing Page and it’s meant to capture the first page of the visit, the Landing Page.
If you have a campaign page that is receiving traffic from 3 different campaign sources using UTM’s or cid parameter, you would be having three different landing pages in the data table , even though it’s the same.
Your landing page var data element would capture the whole URL in the var.
If you want to strip out the query parameters, create a Custom JS data element where:
var x=_satellite.getVar('Landing Page');
_satellite.getVar retrieves the original Landing Page data element
while split function strips everything starting from the ?
Solution by Alexis Cazes, based on the same question I posted in Adobe Launch forum: https://forums.adobe.com/thread/2638881