Skip to content

Commit

Permalink
🚀 [Analytics Parsely] Update host entry to use the new endpoint (ampp…
Browse files Browse the repository at this point in the history
…roject#39597)

* Update parsely host to use the new endpoint

* Update parsely host under test

* fix typo

* fix typo typo
  • Loading branch information
nbetm authored and eszponder committed Apr 22, 2024
1 parent 8ac233d commit 1fb718b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions extensions/amp-analytics/0.1/test/vendor-requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,10 @@
"downLoad": "a[href$=\".pdf\"],a[href$=\".xls\"],a[href$=\".ppt\"],a[href$=\".zip\"],a[href$=\".txt\"],a[href$=\".rtf\"],a[href$=\".xml\"]"
},
"parsely": {
"host": "https://srv.pixel.parsely.com",
"basePrefix": "https://srv.pixel.parsely.com/plogger/?rand=_timestamp_&idsite=!apikey&url=_ampdoc_url_&urlref=_document_referrer_&screen=_screen_width_x_screen_height_%7C_available_screen_width_x_available_screen_height_%7C_screen_color_depth_&title=_title_&date=_timestamp_&ampid=_client_id(_parsely_visitor)_",
"pageview": "https://srv.pixel.parsely.com/plogger/?rand=_timestamp_&idsite=!apikey&url=_ampdoc_url_&urlref=_document_referrer_&screen=_screen_width_x_screen_height_%7C_available_screen_width_x_available_screen_height_%7C_screen_color_depth_&title=_title_&date=_timestamp_&ampid=_client_id(_parsely_visitor)_&action=pageview&metadata={\"canonical_url\":\"_canonical_url_\"}",
"heartbeat": "https://srv.pixel.parsely.com/plogger/?rand=_timestamp_&idsite=!apikey&url=_ampdoc_url_&urlref=_document_referrer_&screen=_screen_width_x_screen_height_%7C_available_screen_width_x_available_screen_height_%7C_screen_color_depth_&title=_title_&date=_timestamp_&ampid=_client_id(_parsely_visitor)_&action=heartbeat&tt=_total_engaged_time_&inc=_incremental_engaged_time(parsely-js)_"
"host": "https://p1.parsely.com",
"basePrefix": "https://p1.parsely.com/plogger/?rand=_timestamp_&idsite=!apikey&url=_ampdoc_url_&urlref=_document_referrer_&screen=_screen_width_x_screen_height_%7C_available_screen_width_x_available_screen_height_%7C_screen_color_depth_&title=_title_&date=_timestamp_&ampid=_client_id(_parsely_visitor)_",
"pageview": "https://p1.parsely.com/plogger/?rand=_timestamp_&idsite=!apikey&url=_ampdoc_url_&urlref=_document_referrer_&screen=_screen_width_x_screen_height_%7C_available_screen_width_x_available_screen_height_%7C_screen_color_depth_&title=_title_&date=_timestamp_&ampid=_client_id(_parsely_visitor)_&action=pageview&metadata={\"canonical_url\":\"_canonical_url_\"}",
"heartbeat": "https://p1.parsely.com/plogger/?rand=_timestamp_&idsite=!apikey&url=_ampdoc_url_&urlref=_document_referrer_&screen=_screen_width_x_screen_height_%7C_available_screen_width_x_available_screen_height_%7C_screen_color_depth_&title=_title_&date=_timestamp_&ampid=_client_id(_parsely_visitor)_&action=heartbeat&tt=_total_engaged_time_&inc=_incremental_engaged_time(parsely-js)_"
},
"permutive": {
"track": "https://!namespace.amp.permutive.com/track?k=!key&i=_client_id(_ga)_&it=amp&vid=_page_view_id_64_&s=_page_view_id_64_&_ep_client.type=amp&_ep_client.title=_title_&_ep_client.domain=_canonical_host_&_ep_client.url=_canonical_url_&_ep_client.referrer=_document_referrer_&_ep_client.user_agent=_user_agent_",
Expand Down Expand Up @@ -618,4 +618,4 @@
"mediaPosition": "https://!trackDomain/!trackId/wt?p=440,_title_,1,_screen_width_x_screen_height_,_screen_color_depth_,1,,_document_referrer_,_viewport_width_x_viewport_height_,0&tz=_timezone_&eid=_client_id(amp-wt3-eid)_&la=_browser_language_&mi=!id&mk=pos&mt1=!currentTime&mt2=!duration&&pu=_source_url_&eor=1&x=!playedTotal",
"mediaEnded": "https://!trackDomain/!trackId/wt?p=440,_title_,1,_screen_width_x_screen_height_,_screen_color_depth_,1,,_document_referrer_,_viewport_width_x_viewport_height_,0&tz=_timezone_&eid=_client_id(amp-wt3-eid)_&la=_browser_language_&mi=!id&mk=eof&mt1=!currentTime&mt2=!duration&&pu=_source_url_&eor=1&x=!playedTotal"
}
}
}
2 changes: 1 addition & 1 deletion extensions/amp-analytics/0.1/vendors/parsely.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"requests": {
"host": "https://srv.pixel.parsely.com",
"host": "https://p1.parsely.com",
"basePrefix": "${host}/plogger/?rand=${timestamp}&idsite=${apikey}&url=${ampdocUrl}&urlref=${documentReferrer}&screen=${screenWidth}x${screenHeight}%7C${availableScreenWidth}x${availableScreenHeight}%7C${screenColorDepth}&title=${title}&date=${timestamp}&ampid=${clientId(_parsely_visitor)}",
"pageview": "${basePrefix}&action=pageview&metadata={\"canonical_url\":\"${canonicalUrl}\"}",
"heartbeat": "${basePrefix}&action=heartbeat&tt=${totalEngagedTime}&inc=${incrementalEngagedTime(parsely-js)}"
Expand Down

0 comments on commit 1fb718b

Please sign in to comment.