Bulk Data Insertion API - User Agent? | Community
Skip to main content
Level 2
September 26, 2024
Question

Bulk Data Insertion API - User Agent?

  • September 26, 2024
  • 1 reply
  • 835 views

I've experienced a downtime in purchase tracking in analytics on my website due to a bug in a release, and I've been looking at solutions to recover the data that was missing during the tracking downtime. I was still tracking most of the information on my purchase page, but did not track the specific purchase event.

 

I've had a look and it looks like I can use the bulk data insertion API to add the missed bookings back in, as I was still tracking purchase ID I will be inserting in the correct amount, and I can retrieve the rest of the details of the booking from other sources.

My only question is, in the BDIAPI's required fields, it states that userAgent is required. I can get the rest of the fields from a data warehouse extract, but I was not tracking user agent so that information is lost - what is the purpose of user agent in this insertion? Would there be any issues introduced if I just used the same user agent for all uploads, as I only want to use this to set the purchase event?

Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

bjoern__koth
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
September 27, 2024

Hi @tomba12 ,

you can specify the User Agent as you wish. I would use a non-standard user agent name that identifies entries which have actually been onboarded from this external source.
This also helps with the verification/validation of the data in Analytics dashboards.

Cheers from Switzerland!
Amruthesh_AG
Community Advisor
Community Advisor
September 30, 2024

@tomba12In case your company integrated with marketo or any CRM you can get user agent details against the Purchase ID by pulling activity log details.

While importing to analytics, User agent column value should be in below format.

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36