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
  • 103 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
  • 18009 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
  • 103 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
  • 18009 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
  • 103 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
  • 103 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
  • 18009 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
  • 50 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
  • 18009 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 руб.


 
  • daimion
  • Member
  • Trial users
  • Join Date: 19-Mar 15
  • 46 posts

Posted 08 August 2018 - 02:47 AM #10

Is this still a problem or has it been resolved?

 

I've only just created a block for a new adsense account, and awaiting approval. But my worry is not knowing if I've done it correctly.

 

From what I've learnt on the forums, I've added the code directly into a block, with the 

 

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" data-no-defer></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-3128434967987654",
    enable_page_level_ads: true
  });
</script>

On my page, I know see the following within the HEAD tags:

 

<script src="https://pagead2.goog...d.js"></script>

<script src="https://pagead2.goog...4.js"></script>

 

Would this mean the implementation is correct?

Just want to check that I'm doing it correctly, to avoid delays.



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

Posted 08 August 2018 - 06:51 AM #11

The code looks correct, wait for the approval to see final result


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 руб.


 
  • daimion
  • Member
  • Trial users
  • Join Date: 19-Mar 15
  • 46 posts

Posted 08 August 2018 - 11:37 AM #12

The code looks correct, wait for the approval to see final result

 

Thanks for checking and letting me know.



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

Posted 07 September 2018 - 02:33 PM #13

it didn't work for me. I pasted the code in an HTML block but no luck. My Adsense account is activated.



 
  • daimion
  • Member
  • Trial users
  • Join Date: 19-Mar 15
  • 46 posts

Posted 07 September 2018 - 11:35 PM #14

it didn't work for me. I pasted the code in an HTML block but no luck. My Adsense account is activated.

 

 

It didn't work for me the first time around. I got a "Unable to detect....." message from Google after a few days.

But a day later I got back that the site was rejected due to "un-interesting content" (or something like that). - So I can't tell if the code did work, or if they had a manual look at the site.



 
  • daimion
  • Member
  • Trial users
  • Join Date: 19-Mar 15
  • 46 posts

Posted 07 September 2018 - 11:39 PM #15

it didn't work for me. I pasted the code in an HTML block but no luck. My Adsense account is activated.

 

 

I think everyone here would be able to help better if you showed the code you pasted (you can blank out the ad_client id), and where/how.



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

Posted 10 September 2018 - 07:15 AM #16

Hello,

 

Anyone knows how to show adds in this way like in the image attached, please?

 

Regards

Attached Thumbnails

  • adds.png


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

Posted 19 September 2018 - 02:37 PM #17

I think everyone here would be able to help better if you showed the code you pasted (you can blank out the ad_client id), and where/how.

 

It is exactly the same as I got from Google. I didn't change anything