내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How to get the full query string parameter into AA / using Launch

Avatar

Level 1

How can I get the the full query string parameter into AA?

Sure, its part of the page-url, but since they are sometimes are longer than 255 signs, it is cut off in AA.

 

I am using Adobe Launch / Tagmanager. There I only found the WebSDK Plugin where you can use "getQueryParam" as DataElement Source. But there you need to configure every param in advance. But I dont know every param.

 

Example:

Current page url has some parameters:

- https://domain.com?param1=foo&random2=bar&utm_source=search&rss=true 

My expected return string would be the full path without domain.
- ?param1=foo&random2=bar&utm_source=search&rss=true

 

Any idea?

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor and Adobe Champion

I would just use a custom code Data Element:

 

var params = window.location.search;
return params;

 

If there are no parameters, it should return an empty string ("")

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
Community Advisor and Adobe Champion

I would just use a custom code Data Element:

 

var params = window.location.search;
return params;

 

If there are no parameters, it should return an empty string ("")

Avatar

Community Advisor

Note that even with this solution, you are still limited to 255 characters. That is a hard limit of eVars that is built into Adobe Analytics, and you can't overcome that.

If you have a very loooooong query string but really only need to track some queries, then you could modify Jennifer's solution to pick out those specific queries only and track them. Hopefully, the final length is still less than or equal to 255 characters.