I am trying to join the Google customer review program and have 2 questions.
1)Google advises
"<!DOCTYPE HTML> must be added to the top of every webpage"
WHat files do I add this to in opencart?
2)Google provides the snippet below to be added to the order confirmation page.
Where do I find the order confirmation page file, to add this snippet too?
------------------------------------------------------------------------------------------------
<script src="https://apis.google.com/js/platform.js? ... enderOptIn" async defer></script>
<script>
window.renderOptIn = function() {
window.gapi.load('surveyoptin', function() {
window.gapi.surveyoptin.render(
{
// REQUIRED FIELDS
"merchant_id": 122506692,
"order_id": "ORDER_ID",
"email": "CUSTOMER_EMAIL",
"delivery_country": "COUNTRY_CODE",
"estimated_delivery_date": "YYYY-MM-DD",
// OPTIONAL FIELDS
"products": [{"gtin":"GTIN1"}, {"gtin":"GTIN2"}]
});
});
}
</script>
-------------------------------------------------
I am running
OC ver 2.1.0.2
Journal ver 2.15.2
Many thanks
See this example: viewtopic.php?f=24&t=191768 . You can download an extension from the Marketplace to customize your success page.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks Straightlight, though this is a little above my pay grade (comprehension)
The three extensions I have looked at so far give the option to format the success page but not to add code ( the google code )
My simplistic understanding was that I simply add the google code to the success page and google take care of the emailing to the client and ratings.
Looks like I am wrong and need to find pro support.
Thanks
The three extensions I have looked at so far give the option to format the success page but not to add code ( the google code )
My simplistic understanding was that I simply add the google code to the success page and google take care of the emailing to the client and ratings.
Looks like I am wrong and need to find pro support.
Thanks
Who is online
Users browsing this forum: No registered users and 82 guests