Saijo George

Curated by Saijo George

Read more

wednesday17 Jun 2020

Google Posts a Guide on Tracking Cross-Origin User State Between Your Domain and AMP Caches

This article will teach you how to track user actions between your domain and AMP Caches.  Users can access your site not just on your domain, but also on Google’s cache domain. If a user visits your site on an AMP cache and again on your own domain, it’s important to recognize that both visitors are the same person.

The solution is twofold. On your domain, identify users with a session cookie, just as usual. On the cache and on a browser that accepts third-party cookies, do the same. Otherwise, whenever a user takes an action that modifies application state, redirect them immediately (using AMP-Redirect-To ) to your origin, where you can access or create a cookie stored under your domain, and then make the change desired.

Do I really need to do this? You may not. But as browsers block third-party cookies in more and more cases, this solution will increasingly be essential to let users use your site smoothly across your origin and AMP caches.

No Media

tldrMarketing has really impressed me with the useful information being shared and also the use of emerging technology - web stories. It was already becoming a great source of information for me, and sharing news in new engaging ways has made it my first web stop for SEO news.

Bing Updates Its Webmaster Guidelines, Now Supports sponsored & ugc Link Attributes 1 - SEO News

Jess Joyce Search Consultant

Prosperity Media SEO Consultant

Full Time Sydney

Company : Prosperity Media

Prosperity Media is a well known SEO Agency based in Sydney. The thing about our company is we are not trying to do everything. We specialise in SEO and mid to large…