amp html - AMP CLIENT_ID substitution not working -


following amp html url variable substitutions have added amp-pixel client_id(google-analytics). expect empty string isn't on amp cdn , cookie doesn't exist. text remains client_id(google-analytics) in url. random substituted.

full amp-pixel :

amp-pixel src="//www.google-analytics.com/collect?v=1&tid=ua-23688336-7&cid=client_id(google-analytics)&t=pageview&dp=%2fnews%2f2016-01-05%2fjekyll-and-hyde-axed-by-itv%2famp&cd1=visitor&cd2=popular%20channels&cd4=sci-fi%2cdrama&cd6=charlie-higson&cd7=jekyll-and-hyde&cd10=amp&z=random"

can see wrong or advise please?

i think missing cid scope. may review required , optional arguments may pass client_id function.

be noted spaces between arguments , values not allowed.

  • cid scope (required) - name of fallback cookie when document not served amp proxy.
  • amp-user-notification id (optional) - optionally make client_id substitution dependent on dismissal of user notification shown visitor of page.

check example.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -