コミュニティアチーブメントバーを展開する。

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.