Skip to content

Commit

Permalink
[TAG-6201] use p in the amp request to avoid errors with response siz…
Browse files Browse the repository at this point in the history
…es (#28347)
  • Loading branch information
wroberts-comscore committed May 12, 2020
1 parent 7db28cc commit 3f9f68f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions extensions/amp-analytics/0.1/test/vendor-requests.json
Expand Up @@ -84,8 +84,8 @@
},
"comscore": {
"host": "https://sb.scorecardresearch.com",
"base": "https://sb.scorecardresearch.com/b?",
"pageview": "https://sb.scorecardresearch.com/b?c1=2&c2=1000001&cs_ucfr=_if(_equals(_consent_state_%2Csufficient)_%2C1)__if(_equals(_consent_state_%2Cinsufficient)_%2C0)__if(_equals(_consent_state_%2C)_%2C)_&cs_amp_consent=_consent_state_&cs_pv=_page_view_id_&c12=_client_id(comScore)_&rn=_random_&c8=_title_&c7=_canonical_url_&c9=_document_referrer_&cs_c7amp=_ampdoc_url_"
"base": "https://sb.scorecardresearch.com/p?",
"pageview": "https://sb.scorecardresearch.com/p?c1=2&c2=1000001&cs_ucfr=_if(_equals(_consent_state_%2Csufficient)_%2C1)__if(_equals(_consent_state_%2Cinsufficient)_%2C0)__if(_equals(_consent_state_%2C)_%2C)_&cs_amp_consent=_consent_state_&cs_pv=_page_view_id_&c12=_client_id(comScore)_&rn=_random_&c8=_title_&c7=_canonical_url_&c9=_document_referrer_&cs_c7amp=_ampdoc_url_"
},
"cxense": {
"host": "https://scomcluster.cxense.com",
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-analytics/0.1/vendors/comscore.json
Expand Up @@ -4,7 +4,7 @@
},
"requests": {
"host": "https://sb.scorecardresearch.com",
"base": "${host}/b?",
"base": "${host}/p?",
"pageview": "${base}c1=2&c2=${c2}&cs_ucfr=$IF($EQUALS(${consentState}, sufficient), 1)$IF($EQUALS(${consentState}, insufficient), 0)$IF($EQUALS(${consentState}, ), )&cs_amp_consent=${consentState}&cs_pv=${pageViewId}&c12=${clientId(comScore)}&rn=${random}&c8=${title}&c7=${canonicalUrl}&c9=${documentReferrer}&cs_c7amp=${ampdocUrl}"
},
"triggers": {
Expand Down

0 comments on commit 3f9f68f

Please sign in to comment.