Skip to content

Instantly share code, notes, and snippets.

@erikfried
Last active August 29, 2015 14:23
Show Gist options
  • Save erikfried/f21a8a4f7dc063e7cd71 to your computer and use it in GitHub Desktop.
Save erikfried/f21a8a4f7dc063e7cd71 to your computer and use it in GitHub Desktop.
Example of pulse2 tracking for a plus article page
[
{
"@context": [
"http://www.w3.org/ns/activitystreams",
{
"spt": "http://schibsted.com",
"spt:sdkType": "JS",
"spt:sdkVersion": "0.3.0"
}
],
"@id": "93e3e1f3-fbc5-41e0-b0f3-df6b8dbf4f3a",
"spt:pageViewId": "77fa14c2-80d7-4111-ab76-d2a2bf53969d",
"published": "2015-06-26T12:45:35+02:00",
"actor": {
"@type": "Person",
"spt:userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36",
"spt:screenSize": "1920x1080",
"spt:viewportSize": "893x963",
"spt:acceptLanguage": "en-US",
"@id": "urn:schibsted.com:person:cccbfc87-4bf1-4044-8492-b9b34160ecb3",
"spt:environmentId": "urn:schibsted.com:environment:7f004085a8214c8f110d9c6cd6c312007f36f075d31058276f149a7f65c0fe36",
"spt:sessionId": "urn:schibsted.com:session:e9c304e3-8b38-40f1-ac6b-73c931af0a2e",
"spt:userId": "urn:schibsted.com:user:2200091"
},
"provider": {
"@type": "Organization",
"@id": "urn:schibsted.com:aftonbladet_staging",
"url": "http://www.local.abse.aftonbladet.se:8080/sportbladet/hockey/sverige/shl/article8636.ab",
"category": "sportbladet",
"subCategory": "sportbladet_hockey",
"siteName": "desktop",
"restriction": "plus",
"publishedDate": "2015-02-18T09:56:32.000Z",
"subscriptions": [
"plus",
"vikt"
]
},
"@type": "Read",
"object": {
"@type": "Article",
"@id": "urn:local.abse.aftonbladet.se:article:8636",
"url": "http://www.local.abse.aftonbladet.se:8080/sportbladet/hockey/sverige/shl/article8636.ab",
"displayName": "10 talanger som kan bli våra nya stjärnor | SHL | Sverige | Hockey | Sportbladet | Aftonbladet",
"spt:og": {
"spt:og:title": "10 talanger som kan bli våra nya stjärnor",
"spt:og:description": "Svensk ishockey fortsätter att producera talanger.Nu står en ny kull redo att sätta avtryck i SHL och Juniorkronorna.Sportbladets Hans Abrahamsson har valt ut tio spelare födda 199…",
"spt:og:site_name": "Aftonbladet",
"spt:og:type": "article",
"spt:og:url": "http://www.local.abse.aftonbladet.se:8080/sportbladet/hockey/sverige/shl/article8636.ab",
"spt:og:image": "http://www.local.abse.aftonbladet.se:8080/image/8638/695/imageColumn/7456c0cc22a71/talanger.jpg"
},
"spt:meta": {
"spt:description": "Svensk ishockey fortsätter att producera talanger.Nu står en ny kull redo att sätta avtryck i SHL och Juniorkronorna.Sportbladets Hans Abrahamsson har valt ut tio spelare födda 199…",
"spt:keywords": "Aftonbladet: Sveriges nyhetskälla och mötesplats,Aftonbladet,nyheter,svenska,senaste nytt,kvällstidning,news,swedish",
"spt:viewport": "width=1005, user-scalable=yes",
"spt:twitter:card": "summary",
"spt:twitter:site": "@aftonbladet",
"spt:application-name": "Aftonbladet",
"spt:apple-mobile-web-app-title": "Aftonbladet",
"spt:msapplication-TileImage": "/assets/gfx/mobile/logo-icons/ab-icon-144x144.png",
"spt:msapplication-TileColor": "#ce181e",
"spt:msapplication-starturl": "http://www.aftonbladet.se"
}
},
"origin": {
"url": "http://www.local.abse.aftonbladet.se:8080/sportbladet/"
}
}
]
window.pulse2opts = {
"clientId": "aftonbladet_staging",
"respectDoNotTrack": true,
"pageId": "8636_teaser",
"pageType": "Article",
"provider": {
"category": "sportbladet",
"subCategory": "sportbladet_hockey",
"siteName": "desktop",
"restriction": "plus",
"publishedDate": "2015-02-18T09:56:32.000Z"
}
};
window.pulse2opts = {
"clientId": "aftonbladet_staging",
"respectDoNotTrack": true,
"pageId": "8636",
"pageType": "Article",
"provider": {
"category": "sportbladet",
"subCategory": "sportbladet_hockey",
"siteName": "desktop",
"restriction": "plus",
"publishedDate": "2015-02-18T09:56:32.000Z",
"subscriptions": [
"plus",
"vikt"
]
},
"userId": 2200091
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment