Tracked Links - wowanalytics/Api-Samples GitHub Wiki

#Tracked Links Tracked Link information is obtained by the following methods, Note: Please contact your account manager to enable access to these api calls

####/client/{clientId}/trackedlinks/{take}

returns the tracked links captured in the system. NOTE: This needs to be enabled, please contact sales

Repeated call to this method without calling the markprocessed call will return the same results.

{take} the number of tracked links to get, Max is 2000

{
    "processId": "00000000-0000-0000-0000-000000000000",
    "trackedLinks": [
        {
	"linkId": "00000000-0000-0000-0000-000000000000",
	"title": "Home",
	"url": "http://domain.com/homepage",
	"categories": [],
	"visited": "2015-02-12T14:32:13",
	"pageType": "Page",
	"leadId": "00000000-0000-0000-0000-000000000000",
	"refererUrl": "",
	"webBrowser": "IE 11.0 ",
	"campaign": "The Camapign",
	"pageScore": 1,
	"source": "GatorMail",
	"medium": "Email",
	"term": "Accessed",
	"contactId": "00000000-0000-0000-0000-000000000000",
	"crmPersonId": "xxxx",
	"crmType": "CONTACT",
	"crmAccountId": "",
	"emailAddress": "[email protected]",
        "personId": 0,
        "custom1": "sample string",
        "custom2": "sample string",
        "custom3": "sample string",
	},....
    ]
}

Where processId the id of this call. Required for the markprocessed call trackedLinks array of Tracked Links

####/client/{clientId}/trackedlinks/markprocessed/{processId}

marks the tracked links as processed so that they will not be returned again processId the processId returned by the method above

{
    "result": true
}

result indication that the process has been marked as complete