Skip to content

Commit

Permalink
✨ enable tcf 2.0 consent processing for analytics vendor infonline (#…
Browse files Browse the repository at this point in the history
…33134)

* enable tcf 2.0 consent processing for analytics vendor infonline

* add correct vendor test request for vendor infonline_anonymous

* Revert "add correct vendor test request for vendor infonline_anonymous"

This reverts commit e6f5bb9

* add correct vendor test request for vendor infonline_anonymous

* add correct vendor test request for vendor infonline
  • Loading branch information
infonline committed Mar 18, 2021
1 parent 3f1bc68 commit ebee665
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extensions/amp-analytics/0.1/test/vendor-requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@
"track": "https://api.ibeat-analytics.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&hid=!hid&au=!au&ag=!ag&aid=!aid&cn=_canonical_url_&pot=!timerStart&rct=1&id=!id&sec=!sec&tgs=!tgs&pc=!pc"
},
"infonline": {
"pageview": "!url?st=!st&sv=ke&ap=1&co=!co&cp=!cp&ps=!ps&host=_canonical_host_&path=_canonical_path_&type=pageview",
"event": "!url?st=!st&ev=!ev&sv=ke&ap=1&co=!co&cp=!cp&ps=!ps&host=_canonical_host_&path=_canonical_path_&type=event"
"pageview": "!url?st=!st&sv=ke&ap=1&co=!co&cp=!cp&ps=!ps&act=_consent_string_&acs=_if(_equals(_consent_state_%2Csufficient)_%2C1)__if(_equals(_consent_state_%2Cinsufficient)_%2C0)__if(_equals(_consent_state_%2C)_%2C-1)_&host=_canonical_host_&path=_canonical_path_&type=pageview",
"event": "!url?st=!st&ev=!ev&sv=ke&ap=1&co=!co&cp=!cp&ps=!ps&act=_consent_string_&acs=_if(_equals(_consent_state_%2Csufficient)_%2C1)__if(_equals(_consent_state_%2Cinsufficient)_%2C0)__if(_equals(_consent_state_%2C)_%2C-1)_&host=_canonical_host_&path=_canonical_path_&type=event"
},
"infonline_anonymous": {
"pageview": "!url?ap=1&dn=!dn&cn=!cn&st=!st&co=!co&cp=!cp&au=_canonical_url_&ar=_document_referrer_&ash=_screen_height_&asw=_screen_width_&tp=pageview",
Expand Down
4 changes: 2 additions & 2 deletions extensions/amp-analytics/0.1/vendors/infonline.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"image": true
},
"requests": {
"pageview": "${url}?st=${st}&sv=${sv}&ap=${ap}&co=${co}&cp=${cp}&ps=${ps}&host=${canonicalHost}&path=${canonicalPath}&type=pageview",
"event": "${url}?st=${st}&ev=${ev}&sv=${sv}&ap=${ap}&co=${co}&cp=${cp}&ps=${ps}&host=${canonicalHost}&path=${canonicalPath}&type=event"
"pageview": "${url}?st=${st}&sv=${sv}&ap=${ap}&co=${co}&cp=${cp}&ps=${ps}&act=${consentString}&acs=$IF($EQUALS(${consentState}, sufficient), 1)$IF($EQUALS(${consentState}, insufficient), 0)$IF($EQUALS(${consentState}, ), -1)&host=${canonicalHost}&path=${canonicalPath}&type=pageview",
"event": "${url}?st=${st}&ev=${ev}&sv=${sv}&ap=${ap}&co=${co}&cp=${cp}&ps=${ps}&act=${consentString}&acs=$IF($EQUALS(${consentState}, sufficient), 1)$IF($EQUALS(${consentState}, insufficient), 0)$IF($EQUALS(${consentState}, ), -1)&host=${canonicalHost}&path=${canonicalPath}&type=event"
},
"triggers": {
"pageview": {
Expand Down

0 comments on commit ebee665

Please sign in to comment.