Data Insertion API Trouble

notrehtad 17-07-2017

Hi All.

I have followed the various tutorials and documentation, but still seem to be missing something... I can't seem to verify that my data is being collected, for which I am using the Content Real-Time Report.

For example, I am POSTing the following XML:

<?xml version="1.0"?>

<request>

  <sc_xml_ver>1.0</sc_xml_ver>

  <pageUrl>http://test.domain/dyYdQi</pageUrl>

  <referrer>http://test.domain/referrerforanalytics</referrer>

  <ipAddress>54.159.118.146</ipAddress>

  <pageName>Test Page</pageName>

  <userAgent>Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (FlipboardProxy/1.1; +http://flipboard.com/browserproxy)</userAgent>

  <language>en-us,en;q=0.5</language>

  <visitorID>1286556420912345678</visitorID>

  <timestamp>2017-07-17T17:28:42</timestamp>

  <reportSuiteID>[RSID]</reportSuiteID>

</request>

To the URL:

https://[NAMESPACE].sc.omtrdc.net/b/ss//6

with the Content-Length header set to the byte length of the XML. I receive the result:

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

<status>SUCCESS</status>

I receive the documented errors when I do things like remove pagename and pageurl:

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

<status>FAILURE</status>

<reason>NO pagename OR pageurl</reason>

Unfortunately, I see no activity in Real-Time. Note the following:

  • I DO see activity with regularly instrumented pages, so I know data is being processed.
  • I have tried a number of permutations of differing timestamp formats and formats/content in other elements (no dice).
  • It's almost certainly a n00b issue I have overlooked... I just don't see it
  • Thanks for your help in advance!

Accepted Solutions (0)

Answers (0)