Adding Google Snippet to "Contact Us for More .."

  • Posts: 174
  • Thank you received: 4
  • Hikashop Business
10 years 2 months ago #208101

-- url of the page with the problem -- : morenadancewear.com.au/
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

Hi,
I am trying to add Google tracking code to the "Contact us for more information" popup view (which I am assuming is coming from the view product/contact). Before I do so, my question is adding (as is) the following at the end of the file can affect anything?
The code is:
<!-- Google Code for Contact as Leads Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1045361347;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "2-ZuCOH-pF4Qw-W78gM";
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/1045361347/?label=2-ZuCOH-pF4Qw-W78gM&guid=ON&script=0"/>
</div>
</noscript>

Your advice will be much appreciated

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

  • Posts: 174
  • Thank you received: 4
  • Hikashop Business
10 years 2 months ago #208109

I tried to insert the above and it messed up my "Contact Us for More Information" form ...
Is there a way to insert the snippet above without upsetting the general form? Actually the only line needed is:
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1045361347/?label=2-ZuCOH-pF4Qw-W78gM&guid=ON&script=0"/>

Last edit: 10 years 2 months ago by kchahine.

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 2 months ago #208110

Hi,

I don't see any problem with adding that code at the end of the contact file of the product view via the menu Display>Views. If you had an error, it means that you didn't place it completely at the end, didn't put all the code or that you changed something else in the view.

And yes, that's the view displaying the contact request form of HikaShop.

Last edit: 10 years 2 months ago by nicolas.

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

  • Posts: 174
  • Thank you received: 4
  • Hikashop Business
10 years 2 months ago #208159

Hi,
I am afraid inserting the code as is at the end of the product/contact view file had messed up the form rendering it non-functional.
I had to delete any modifications to revert back to a functional form.
regards

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

Time to create page: 0.058 seconds
Powered by Kunena Forum