Client Hints in Data Insertion API | Community
Skip to main content
New Participant
Mar 8, 2023 2:06 PM UTC
Solved

Client Hints in Data Insertion API

Hi, since the Data Insertion API documentation has not been updated for many years, it is not specified which XML tags can be used for sending the new User Agent Client Hints for Chromium browsers. The more up-to-date Bulk Data Insertion API Documentation says that the columns hints.brands, hints.platform etc. can be used for sending Client Hints. When I tried to use the same format like <hints.platform>macOS</hints.platform> in a Data Insertion API Request, it doesn't seem like working.

 

Any idea how I can transmit client hints in a Data Insertion API request?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Gigazelle
GigazelleAccepted solution
Employee
Mar 14, 2023 9:15 PM UTC

The documentation for the data insertion API has a new home on Adobe Developer. It was just updated last week with the appropriate XML tags for client hints. Check it out here:

https://developer.adobe.com/analytics-apis/docs/1.4/guides/data-insertion/variable-reference/

3 replies

Gigazelle
GigazelleAccepted solution
Employee
Mar 14, 2023 9:15 PM UTC

The documentation for the data insertion API has a new home on Adobe Developer. It was just updated last week with the appropriate XML tags for client hints. Check it out here:

https://developer.adobe.com/analytics-apis/docs/1.4/guides/data-insertion/variable-reference/

Translate
ktrsAuthor
New Participant
Mar 15, 2023 12:27 PM UTC

Hi @gigazelle, thank you so much for the tip!

 

I've just tried it now and it partially worked. I sent the following in my data insertion request:

<userAgentClientHints> <mobile>false</mobile> <platform>Windows</platform> <brands> <brand> <name>Chromium</name> <version>101</version> </brand> <brand> <name>Google Chrome</name> <version>101</version> </brand> <brand> <name> Not;A Brand</name> <version>99</version> </brand> </brands> </userAgentClientHints>

When I report the event, the Operating System dimension is set to "Windows" and Mobile Device Type is set to "Other", which are correct. However, Browser is set to "None". Any ideas why?

 

Translate
Jennifer_Dungan
Level 2
Mar 10, 2023 7:04 AM UTC

This may be worth a ticket to Client Care...  this should either get you access to an Adobe Engineer who can support how to do this (and please share the solution if there is one)... or it might trigger a request to get new functionality created to support this.

 

Good luck

Translate