Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Adsense On Cs Cart Rate Topic   - - - - -

 
  • memel
  • Advanced Member
  • Members
  • Join Date: 29-May 17
  • 94 posts

Posted 29 May 2017 - 01:43 PM #1

Hello,

 

I have tried to find how I can add adsense code correctly to appear on cs cart but no luck. 

I added using html smarty block but not show up. Could someone to help or point how to do that.

 

Thank you.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17613 posts

Posted 29 May 2017 - 01:48 PM #2

What code did you use?

 

Note:

- { and } symbols should not be on one line

- use the data-no-defer property for the script tags

 

http://kb.cs-cart.com/embedded-script


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • memel
  • Advanced Member
  • Members
  • Join Date: 29-May 17
  • 94 posts

Posted 29 May 2017 - 02:31 PM #3

Please see below the code. When I check page source code seems the code is cut.

 

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Product page Adds -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-253536347437373"
data-ad-slot="3508574378"
data-ad-format="link"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

 

Regards



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17613 posts

Posted 30 May 2017 - 06:43 AM #4

Please try

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" data-no-defer></script>
<!-- Product page Adds -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-253536347437373"
data-ad-slot="3508574378"
data-ad-format="link"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
});
</script>

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • memel
  • Advanced Member
  • Members
  • Join Date: 29-May 17
  • 94 posts

Posted 30 May 2017 - 06:25 PM #5

I will test and come back.

 

Thank you.



 
  • memel
  • Advanced Member
  • Members
  • Join Date: 29-May 17
  • 94 posts

Posted 31 May 2017 - 06:36 PM #6

Actually, the adsense code is working but working only on mobile devices. Not showing on a computer. Tried few different computers and different browsers - not show up. Any suggestions or advice?

 

Thank you.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17613 posts

Posted 01 June 2017 - 07:34 AM #7

Actually, the adsense code is working but working only on mobile devices. Not showing on a computer. Tried few different computers and different browsers - not show up. Any suggestions or advice?

 

It is hard to say anything without code examination. Actually there should not be any difference between desktop and mobile devices


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • banader
  • Junior Member
  • Members
  • Join Date: 31-Mar 11
  • 32 posts

Posted 27 June 2018 - 12:16 PM #8

I'm having the same issue .. any solution for this?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17613 posts

Posted 27 June 2018 - 01:19 PM #9

I'm having the same issue .. any solution for this?

 

Please post the code you use here or PM me


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.