Skip to content

Commit

Permalink
Ibeat analytics payload update (#28375)
Browse files Browse the repository at this point in the history
* ibeatanalytics payload update

* prettify fix

* Test Case failure fix

* test fail fix

* test fixes

* vendor-requests.json fix
  • Loading branch information
denmark-admin committed May 13, 2020
1 parent e521caf commit 4582e8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions examples/analytics-vendors.amp.html
Expand Up @@ -1762,12 +1762,11 @@
{
"vars": {
"aid": "99999999",
"ctIds": "1234,34343,564645",
"ag": "agency",
"au": "author1,author2",
"pt": "publishTime",
"ct": "1",
"d":"m.ibeatdev.com",
"d":"m.ibeatdev.com"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-analytics/0.1/test/vendor-requests.json
Expand Up @@ -174,7 +174,7 @@
},
"ibeatanalytics": {
"host": "https://ibeat.indiatimes.com",
"track": "https://ibeat.indiatimes.com/ping-amp?url=_ampdoc_url_&sid=_client_id(_iibeat_session)_&ua=_user_agent_&ref=_document_referrer_&at=_incremental_engaged_time_&tt=!totalTime&pid=_page_view_id_&d=!d&ct=!ct&pt=!pt&au=!au&ag=!ag&aid=!aid&cn=_canonical_url_&ctIds=!ctIds"
"track": "https://ibeat.indiatimes.com/ping-amp?url=_source_url_&sid=_client_id(_iibeat_session)_&ua=_user_agent_&ref=_document_referrer_&at=_incremental_engaged_time_&tt=!totalTime&pid=_page_view_id_&d=!d&dn=_source_hostname_&ct=!ct&pt=!pt&au=!au&ag=!ag&aid=!aid&cn=_canonical_url_&pot=!timerStart"
},
"infonline": {
"pageview": "!url?st=!st&sv=ke&ap=1&co=!co&cp=!cp&ps=!ps&host=_canonical_host_&path=_canonical_path_&type=pageview",
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-analytics/0.1/vendors/ibeatanalytics.json
@@ -1,7 +1,7 @@
{
"requests": {
"host": "https://ibeat.indiatimes.com",
"track": "${host}/ping-amp?url=${ampdocUrl}&sid=${clientId(_iibeat_session)}&ua=${userAgent}&ref=${documentReferrer}&at=${incrementalEngagedTime}&tt=${totalTime}&pid=${pageViewId}&d=${d}&ct=${ct}&pt=${pt}&au=${au}&ag=${ag}&aid=${aid}&cn=${canonicalUrl}&ctIds=${ctIds}"
"track": "${host}/ping-amp?url=${sourceUrl}&sid=${clientId(_iibeat_session)}&ua=${userAgent}&ref=${documentReferrer}&at=${incrementalEngagedTime}&tt=${totalTime}&pid=${pageViewId}&d=${d}&dn=${sourceHostname}&ct=${ct}&pt=${pt}&au=${au}&ag=${ag}&aid=${aid}&cn=${canonicalUrl}&pot=${timerStart}"
},
"triggers": {
"trackInterval": {
Expand Down

0 comments on commit 4582e8c

Please sign in to comment.