Google AdWords Conversion Tracking Code??

  • Posts: 17
  • Thank you received: 0
7 years 6 months ago #269640

-- HikaShop version -- : 2.3.5,
-- Joomla version -- : Joomla! 3.3.6
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : firefox

Hi I am implementing Google AdWords on my site and I received this message from Google:

Hi Kevin,

Please have the code below implemented to track sales from your website.


Below is the Google AdWords Conversion Tracking code for conversion action Online Sales. To start tracking this conversion you need to copy and paste the code into the source of the page you would like to track.

For tips see support.google.com/adwords/answer/6331314?&hl=en_US .


<!-- Google Code for Online Sales Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 853591075;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "5m97CM20kXEQo4iDlwM";
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/853591075/?label=5m97CM20kXEQo4iDlwM&guid=ON&script=0"/>
</div>
</noscript>

Tell me what file in HikaShop will i input the above code at??

Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 6 months ago #269653

Hi,

It depends on the payment method you're using and how you configured it. You'll probably want to add it in the after_end view file via the menu Display>Views which is were the customers are normally brought to after they made a payment for an order on a HikaShop website.

The following user(s) said Thank You: essential

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
7 years 6 months ago #269666

We use our merchant account through Chase Paymentech. Does that help with how we can find the file

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
7 years 6 months ago #269667

Can I pvt message and give you access

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 6 months ago #269756

Hi,

From what I can see on you're website, you're actually using the authorize.net payment plugin and in that case, you want to add it in the file "end" of the view "checkout".

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
7 years 6 months ago #269808

Where do add this code : i received the following email form Google:

Please add this code to the robots.txt file on the website.


User-agent: Googlebot

Disallow:

User-agent: Googlebot-image

Disallow:


support.google.com/merchants/answer/7052...9155&rd=1#image_link

this info is needed for Google Shopping Setup

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
7 years 6 months ago #269809

Google says that the robot can not crawl my image page on my order page. my images were upload to HikaShop product page

Last edit: 7 years 6 months ago by essential.

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
7 years 6 months ago #269811

Hello,

I think that Google robot won't be able to access any customer order page ; because it's a restricted page that only the customer can see.
Otherwise I'm afraid that it would be a major security issue.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
7 years 6 months ago #269968

Jerome

Thank you but I misspoke. Google is not trying to see any order data. The question is:

Googlebot need to crawl my image locations in the Hikashop. And they asked me to put this code in my robots.txt file?


User-agent: Googlebot

Disallow:

User-agent: Googlebot-image

Disallow:

i received the code from Google.
Also this support link was included in the email notice www.support.google.com/merchants/answer/...9155&rd=1#image_link



support.google.com/merchants/answer/7052...9155&rd=1#image_link

this info is needed for Google Shopping Setup

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 6 months ago #269969

Hi,

You need to edit your robots.txt
This is not linked to HikaShop. It's a file added by Joomla.
docs.joomla.org/Robots.txt_file
HikaShop stores its images in the path that you configured in the "upload path" setting of the HikaShop configuration. So you need to make sure that the path you configured there is authorized in the robots.txt file.

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 0
7 years 6 months ago #270049

Hi

I provided the screenshot of the robots.txt file in my cpanel. And how can i make sure that it is configured to crawl in HikaShop. Were do I look for that configuration.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 6 months ago #270059

Hi,

Please understand that the configuration of the robots.txt file is something related to your whole website. Not HikaShop itself. So it's not something we're supposed to help you with.
Also, the link I gave you already explains how and why configure it and has other links with more information about it.
If you're unsure, the default robots.txt file of Joomla should already allow search engines to crawl HikaShop images:
docs.joomla.org/Robots.txt_file#Joomla_robots.txt_contents

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum