Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Multiple Visitor information in Data insertion request XML

Avatar

Level 1

Hi

I am trying to insert multiple visitor information using Data insertion XML. I tried to insert multiple <request> in the xml by having the root element called <requests>, although adobe accepted the request, it only inserted the last <request> element to the reports. Can anyone let me know the correct way to insert multiple visitor events in one xml?

I can insert single visitor information at a time but I like to insert multiple visitor/page information on one single post.

Current XML looks like this

<?xml version="1.0" encoding="UTF-8"?>

<requests>

<request>

<sc_xml_ver>1.0</sc_xml_ver>

<reportsuiteid>QWERTYUYTRERTY</reportsuiteid>

<visitorid>ABCD123456</visitorid>

<ipaddress>127.0.0.1</ipaddress>

<pagename>Test Page15f3522fac9LINE1</pagename>

<channel>Tests</channel>

<prop1>All</prop1>

<events>event1</events>

<evar2>Test Page</evar2>

<evar3>Test Page</evar3>

<evar4>Test Page</evar4>

<hier1>Test|Test Page|All</hier1>

</request>

<request>

<sc_xml_ver>1.0</sc_xml_ver>

<reportsuiteid>QWERTYUYTRERTY</reportsuiteid>

<visitorid>ABCD123456</visitorid>

<ipaddress>127.0.0.1</ipaddress>

<pagename>Test Page15f3522fac9LINE122LINE2</pagename>

<channel>Tests</channel>

<prop1>All</prop1>

<events>event1</events>

<evar2>Test Page</evar2>

<evar3>Test Page</evar3>

<evar4>Test Page</evar4>

<hier1>Test|Test Page|All</hier1>

</request>

</requests>

I am getting the success response.

<?xml version="1.0" encoding="UTF-8"?><status>SUCCESS</status>

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You should only send one request at a time, you cannot specify multiple. I believe there is a new API that is being worked on that will allow to send batch data. Don't know the release date tho. Please contact client care to see if there is a beta for it that you can be enrolled to.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

You should only send one request at a time, you cannot specify multiple. I believe there is a new API that is being worked on that will allow to send batch data. Don't know the release date tho. Please contact client care to see if there is a beta for it that you can be enrolled to.

Avatar

Level 1

Hi Alexis

Thank you very much for the answer, I'll try the client care.

Anton