Add data to the built in Adobe Analytics Connector integration? | Community
Skip to main content
lukkyluke
Level 2
April 3, 2020
Solved

Add data to the built in Adobe Analytics Connector integration?

  • April 3, 2020
  • 3 replies
  • 9513 views

Hi all,

We have 5 different instances of Adobe Campaign Classic. 4 of them contain one brand in each, and the 5th contains 10 brands.
We're using the builtin Adobe Analytics connector to send delivery data to analytics, but we can't seem to split the data based on sub-brand. We would like to see the 14 different brands separately in the reports. Is it possible to add custom data to this kind of integration? One extra column with brandName would be enough 🙂
 
Is this something that can be done with the built in connector, or will it have to be extended or built custom from scratch?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by DavidKangni

To pass the other parameters, you can do it via URL or via API calls that gets sent from Campaign.

If it's via the URL then , enriching the formula in the external account is the only option.

If you want to pass on parameters other than the URL , You need to customize the js code which pulls the data to send by default.

This is the JS code nms:adobeGenesisConnection.js

and here is the part that captures the data to be sent to Analytics.

AdobeGenesisConnection.prototype.sendMetrics = function (tableName)
{
var columnNames = new XMLList()
columnNames += <item>Date</item>
columnNames += <item>Message ID</item>
columnNames += <item>Scheduled</item>
columnNames += <item>Processed</item>
columnNames += <item>Sent</item>
columnNames += <item>Opened</item>
columnNames += <item>Unique Opens</item>
columnNames += <item>Clicked</item>
columnNames += <item>Person Clicks</item>
columnNames += <item>Unique Clicks</item>
columnNames += <item>Unsubscribed</item>
columnNames += <item>Total Bounces</item>

You may duplicate this JS file , add the fields you want and have the duplicated JS called in the workflow Sending of indicators and campaign attributes

 

Thanks

David

3 replies

DavidKangni
Community Advisor
Community Advisor
April 3, 2020

Hi Lukkyluke,

 

To pass other parameters, you can do it via URL or via API calls that gets sent from Campaign.

  1. If it's via the URL then, enriching the formula in the external account is the only option.

  2. If you want to pass on parameters other than the URL , You need to customize the js code which pulls the data to send by default.

    This is the JS code nms:adobeGenesisConnection.js

    and here is the part that captures the data to be sent to Analytics.

    AdobeGenesisConnection.prototype.sendMetrics = function (tableName)
    {
    var columnNames = new XMLList()
    columnNames += <item>Date</item>
    columnNames += <item>Message ID</item>
    columnNames += <item>Scheduled</item>
    columnNames += <item>Processed</item>
    columnNames += <item>Sent</item>
    columnNames += <item>Opened</item>
    columnNames += <item>Unique Opens</item>
    columnNames += <item>Clicked</item>
    columnNames += <item>Person Clicks</item>
    columnNames += <item>Unique Clicks</item>
    columnNames += <item>Unsubscribed</item>
    columnNames += <item>Total Bounces</item>

    You may duplicate this JS file , add the fields you want and have the duplicated JS called in the workflow Sending of indicators and campaign attributes

Thanks,

David

David Kangni
pradeep_07
Level 4
July 13, 2020
Hey David, I can see above code, but unable to edit since it is an in built code.
Jonathon_wodnicki
Community Advisor
Community Advisor
April 4, 2020

Hi,

 

Add the brand col to AdobeGenesisConnection.prototype.sendAttributes() in nms:adobeGenesisConnection.js.

 

Thanks,

-Jon

lukkyluke
lukkylukeAuthor
Level 2
April 6, 2020

Hi Jon and thanks for your reply, I didn't know that it is possible to modify built in js-code. It says "This is an application built-in object. It cannot be modified". How do I edit this file? Just overwrite it directly on the linux-server? If yes, will this change be overwritten on every build upgrade?

DavidKangni
Community Advisor
DavidKangniCommunity AdvisorAccepted solution
Community Advisor
April 6, 2020

To pass the other parameters, you can do it via URL or via API calls that gets sent from Campaign.

If it's via the URL then , enriching the formula in the external account is the only option.

If you want to pass on parameters other than the URL , You need to customize the js code which pulls the data to send by default.

This is the JS code nms:adobeGenesisConnection.js

and here is the part that captures the data to be sent to Analytics.

AdobeGenesisConnection.prototype.sendMetrics = function (tableName)
{
var columnNames = new XMLList()
columnNames += <item>Date</item>
columnNames += <item>Message ID</item>
columnNames += <item>Scheduled</item>
columnNames += <item>Processed</item>
columnNames += <item>Sent</item>
columnNames += <item>Opened</item>
columnNames += <item>Unique Opens</item>
columnNames += <item>Clicked</item>
columnNames += <item>Person Clicks</item>
columnNames += <item>Unique Clicks</item>
columnNames += <item>Unsubscribed</item>
columnNames += <item>Total Bounces</item>

You may duplicate this JS file , add the fields you want and have the duplicated JS called in the workflow Sending of indicators and campaign attributes

 

Thanks

David

David Kangni
lukkyluke
lukkylukeAuthor
Level 2
April 16, 2020
Thanks for the explanation!