Multiple Visitor information in Data insertion request XML

Avatar

Avatar

antond42324665

Avatar

antond42324665

antond42324665

19-10-2017

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>

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

AlexisCazes

MVP

Avatar

AlexisCazes

MVP

AlexisCazes
MVP

20-10-2017

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.

Answers (1)

Answers (1)

Avatar

Avatar

antond42324665

Avatar

antond42324665

antond42324665

20-10-2017

Hi Alexis

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

Anton