I
I
IgorBorys2020-12-15 10:13:27
Google
IgorBorys, 2020-12-15 10:13:27

How to host a Google Poll module?

Hello!
The bottom line is that I want to place a Google reviews code on the online store so that the store participates in the Google seller rating.

Here is a link to Google instructions for placing the code https://support.google.com/merchants/answer/710624...

I'm interested in such questions.

The code must be placed on the checkout page. What exactly is this file? I can’t figure it out here, since the site also has the ability to quickly design.

And here is the code snippet:

"order_id": "ORDER_ID",
          "email": "CUSTOMER_EMAIL",
          "delivery_country": "COUNTRY_CODE",
          "estimated_delivery_date": "YYYY-MM-DD",


How to get and output values ​​correctly: ORDER_ID, "CUSTOMER_EMAIL, COUNTRY_CODE, YYYY-MM-DD

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergei Tolkachev, 2020-12-17
@sergeytolkachyov

The code you provided is not the poll embed code, but a json object with parameters for the js script. And you most likely missed the script on the Google documentation page. At a minimum, you cannot place the script code in the file, because if you update the CMS, the new version will overwrite all your changes and you will have to roll them over again. To place codes in Bitrix, there should be more canonical methods.

D
darmoid, 2021-02-06
@darmoid

Partial solution to the issue with the code there https://smychnyk.name/ru/kak-razmestit-modul-opros...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question