I am using the insertion api and also context data as follows:
<ABC>page</ABC>
And I am using a processing rule like this: overwritevalue of evar5 with abc(contextData)
Looking at my data I see no values coming though the reports but I see that a specific event which is included within the servercall gets triggered but not the context data. Does anyone know why? this is pretty urgent!
I hope someone can support me!
Solved! Go to Solution.
Views
Replies
Total Likes
The request needs to look as follow:
<request>
<sc_xml_ver>1.0</sc_xml_ver>
<pageUrl>Need to provide an url even if it is a fake one</pageUrl>
<pageName>Need to provide a page name</pageName>
<reportSuiteID>reportsuiteid</reportSuiteID>
<visitorID>Unique visitorID</visitorID>
<contextData>
<abc>bla</abc>
</contextData>
</request>
Make sure you the following answer:
<?xml version="1.0" encoding="UTF-8"?> <status>SUCCESS</status>
Make sure that the report suite timestamp configuration is correct, if you send the timestamp tag then it needs to be either timestamp enabled or timestamp optional.
The request needs to look as follow:
<request>
<sc_xml_ver>1.0</sc_xml_ver>
<pageUrl>Need to provide an url even if it is a fake one</pageUrl>
<pageName>Need to provide a page name</pageName>
<reportSuiteID>reportsuiteid</reportSuiteID>
<visitorID>Unique visitorID</visitorID>
<contextData>
<abc>bla</abc>
</contextData>
</request>
Make sure you the following answer:
<?xml version="1.0" encoding="UTF-8"?> <status>SUCCESS</status>
Make sure that the report suite timestamp configuration is correct, if you send the timestamp tag then it needs to be either timestamp enabled or timestamp optional.
Thanks for your help. Is there a possibility to test such request in the console of chrome or another way? So that I will be able to see the request before it is being tracked!
The report suite is timestamp enabled.
Views
Replies
Total Likes
You can use curl command to send the request:
I wrote the following some time ago: Data Insertion API for Adobe Analytics. · alcazes/Adobe-Analytics-from-A-To-Z Wiki · GitHub
Even if the request returns SUCCESS, it does not mean that it will be processed successfully. Some things to be aware of:
I usually use the realtime reports in Adobe Analytics to check that I receive the server call. I usually configure the real-time report to look at page name.
One more important thing: you should create processing rules to process the contextData. In my post above I only have tag <abc> in <contextData> so processing rule should put abc to lets say an eVar report.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies