Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ibeat Analytics tracking method changed (#26596)
* Ibeat Analytics tracking method changed * fixed lint build issues * test run build fix * fixed test case failure, variable name fixed * fixed test failures * removed request type * var object changed for test config
- Loading branch information
1 parent
c8e1e96
commit 956c54a
Showing
4 changed files
with
37 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
{ | ||
"requests": { | ||
"host": "https://ibeat.indiatimes.com", | ||
"base": "https://ibeat.indiatimes.com/iBeat/pageTrendlogAmp.html", | ||
"pageview": "${base}?&h=${h}&d=${h}&url=${url}&k=${key}&ts=${time}&ch=${channel}&sid=${uid}&at=${agentType}&ref=${documentReferrer}&aid=${aid}&loc=1&ct=1&cat=${cat}&scat=${scat}&ac=1&tg=${tags}&ctids=${catIds}&pts=${pagePublishTime}&auth=${author}&pos=${position}&iBeatField=${ibeatFields}&cid=${clientId(MSCSAuthDetails)}" | ||
"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}" | ||
}, | ||
"triggers": { | ||
"defaultPageview": { | ||
"on": "visible", | ||
"request": "pageview" | ||
"trackInterval": { | ||
"on": "timer", | ||
"timerSpec": { | ||
"interval": 15, | ||
"maxTimerLength": 7200 | ||
}, | ||
"request": "track" | ||
} | ||
} | ||
} |