- Posts: 177
- Thank you received: 4
Adding Google Snippet to "Contact Us for More .."
11 years 2 months ago #208101
by kchahine
Adding Google Snippet to "Contact Us for More .." was created by kchahine
-- 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
-- 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.
11 years 2 months ago - 11 years 2 months ago #208109
by kchahine
Replied by kchahine on topic Adding Google Snippet to "Contact Us for More .."
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"/>
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: 11 years 2 months ago by kchahine.
Please Log in or Create an account to join the conversation.
11 years 2 months ago - 11 years 2 months ago #208110
by nicolas
Replied by nicolas on topic Adding Google Snippet to "Contact Us for More .."
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.
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: 11 years 2 months ago by nicolas.
Please Log in or Create an account to join the conversation.
11 years 2 months ago #208159
by kchahine
Replied by kchahine on topic Adding Google Snippet to "Contact Us for More .."
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
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.172 seconds