ÃÛ¶¹ÊÓÆµ

charSet

The charSet variable is used by ÃÛ¶¹ÊÓÆµ to convert incoming data into UTF-8 for storage and reporting by Analytics. Most sites do not need to set this variable.

Set this variable only if you see garbled values () in reports. You can set this variable on a page-by-page basis if your site uses different encodings on different pages.

Character Set in the Web SDK

The Web SDK currently supports only UTF-8, and does not provide options to change encoding.

Character Set in the ÃÛ¶¹ÊÓÆµ Analytics extension

Character Set is a field under the General accordion when configuring the ÃÛ¶¹ÊÓÆµ Analytics extension in ÃÛ¶¹ÊÓÆµ Experience Platform Data Collection.

  1. Log in to using your ÃÛ¶¹ÊÓÆµID credentials.
  2. Click the desired tag property.
  3. Go to the Extensions tab, then click the Configure button under ÃÛ¶¹ÊÓÆµ Analytics.
  4. Expand the General accordion, which reveals the Character Set field.

You can use either a preset character set or a custom character set. Avoid changing the value from UTF-8 unless you see garbled values in reports.

s.charSet in AppMeasurement and the Analytics extension custom code editor

The charSet variable is a string. If you have garbled values in ÃÛ¶¹ÊÓÆµ Analytics, set this variable to the same value as the <meta charset=""> HTML tag on your site.

s.charSet = "UTF-8";
recommendation-more-help
b4f6d761-4a8b-4322-b801-c85b9e3be690