Special characters in data feeds
Adobe uses escape logic to make sure that values sent to data collection servers do not corrupt or negatively data feed files. The following characters are reserved by Adobe for the following purposes in hit_data.tsv
.
Special characters in any column
\t
\n
\
When these reserved values are preceded by a backslash, they were sent as part of data collection.
\\t
\t
’ was sent during data collection, escaped by Adobe.\\n
\n
’ was sent during data collection, escaped by Adobe.\\
\
’ was sent during data collection, escaped by Adobe.For example, a visitor to your site uses internal search and searches for "search\nstring"
. You populate eVar1 with "search\nstring"
, and send that value to Adobe. Adobe receives this hit, and escapes the newline included in the string. The actual value placed in raw data is "search\\nstring"
.
Special characters in multi-valued variables (events_list, products_list, mvvars)
The following characters have a special meaning in columns that can contain multiple values.
,
;
product_list
. Separates fields within a single product string.=
product_list
.^
When these reserved values are preceded by a caret, they were sent as part of data collection.
^,
,
’ was sent during data collection, escaped by Adobe.^;
;
’ was sent during data collection, escaped by Adobe.^=
=
’ was sent during data collection, escaped by Adobe.^^
^
’ was sent during data collection, escaped by Adobe.