02/03/2016 01:53 PM How to add an advertising spot via Marketing?
Virto Commerce

How to add an advertising spot via Marketing?

Updated:

There are steps to prepare dynamic content infrastructure.

Add content place to a page

There are steps to add a dynamic content to a website page:

  • Open a website page html file.
  • Insert code to your Html, where Id is  placeholder name <vc-content-place id="Right banner 240x400" class="col-sm-4 col-md-4 rightblock"></vc-content-place>

Add real advertising content

  • Go to Marketing module.
  • Select Dynamic content in the module blade.
  • Select Content items in the opening blade.
  • Select content item to apply with new content. It is "Google adv 200x240" in Create a content item example.
  • Insert into Html google ads snippet:
<script async src="//[pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script]()>  
<!-- Gift -->  
<ins class="adsbygoogle"  
 style="display:inline-block;width:240px;height:400px"  
 data-ad-client="ca-pub-7764700480965053"  
 data-ad-slot="9634585522"></ins>  
<script>  
(adsbygoogle = window.adsbygoogle || []).push({});  
</script>

  • Save changes.

New content will allow immediately on your website page.

Topics