When people click on your CSS product page (CPP), they’re sent to a landing page on your website for that product. Use the CPP link [cpp_link]
attribute to set the URL for this page.
In this article
When to use
Required for each product
If you submit only the CPP link [cpp_link]
attribute, and don’t also submit the CPP mobile link [cpp_mobile_link]
attribute, all desktop and mobile device users will be directed to the landing page specified in this attribute.
Format
Follow these formatting guidelines to make sure Google understands the data you submit. Learn when and how to submit your product data in English.
Type | URL (including http or https ), ASCII characters only, and RFC 3986 compliant |
Limits | 1-2,000 characters |
Repeated field | No |
To format your data for CSS API, go to the CSS API for Shopping resource.
Minimum requirements
These are the requirements you need to meet to show your product. If you don't follow these requirements, Google will disapprove your CPP and let you know in CSS Center.
- Ensure your CPP is mobile friendly. Make sure that the link you submit works on desktop and mobile devices. Your CPP link must meet this requirement even if you also use the CPP mobile link
[cpp_mobile_link]
attribute. - Start with
http
orhttps
and comply with RFC 3986. For example:https://example.com/writing/fiji-pens
. - Use your verified domain name. Make sure to use the domain name that you verified during account setup.
- Make sure Google can crawl your URL. For example, ensure your robots.txt file is configured correctly. Learn more About robots.txt files.
-
Replace any symbols or spaces with URL encoded entities. For example, if your URL contains an ampersand (&), then replace it with %26.
- Allow users to view your product page without the need to register, sign in, or take any other actions. Make sure users can view your CPP immediately after clicking on your product page link.
- Submit only one attribute per product or product variant. If you provide multiple link attributes for the same product, only one of them will be applied.
- Use legally required redirects. For certain products, local laws may require that your users land on a separate page before your product page. For example, you may need to verify age before users can access your site. After users get past this page, make sure your product page meets all the same guidelines described earlier.
Best practices
These best practices can help you go beyond the basic requirements to optimize your product data for performance.
- Use a stable URL. The URL that you include shouldn’t change unless your landing page moves. For example, avoid using URLs with timestamps or parts that could change each time you submit your product data. Whenever you change your URL, your landing page will need to be evaluated and crawled. This process could cause unnecessary load on your servers.
- Pre-select the correct variant. When linking to your landing page, select the correct variant. Users who can view the exact same product they clicked on are more likely to purchase it. It's important to also submit your variant details through the appropriate attributes such as color
[color]
, size[size]
, and age group[age_group]
. - Use the CPP mobile link
[cpp_mobile_link]
attribute if you have a separate landing page designed for mobile devices. Learn more About mobile link. - Use as few redirects as possible. Redirects increase the time between a user clicking on your product and loading your landing page. Lengthy loading times cause your users to have a negative experience.
- Make sure all redirects are set to the same verified domain to prevent errors.