• Tried to contact you directly about this but I can share here…

    When I copied the Google Revenue Manager snippet code from the source, it looked like this…

    <script async type="application/javascript"
            src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
    <script>
      (self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
        basicSubscriptions.init({
          type: "NewsArticle",
          isPartOfType: ["Product"],
          isPartOfProductId: "CAowkPCZCw:openaccess",
          clientOptions: { theme: "light", lang: "en" },
        });
      });
    </script>

    …but by the time I pasted it and clicked “Save Changes“, it looked like this…

    <a >https://news.google.com/swg/js/v1/swg-basic.js</a>
    <script>
      (self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions =&gt; {
        basicSubscriptions.init({
          type: "NewsArticle",
          isPartOfType: ["Product"],
          isPartOfProductId: "CAowkPCZCw:openaccess",
          clientOptions: { theme: "light", lang: "en" },
        });
      });
    </script>

    …not only that, it adds a link to the top of my site on every page.

    Any reason for that??? ??

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author GNPublisher

    (@gnpublisher)

    Hi, Thank you for reaching out to us and apologize for the delayed response. We have checked on our end and found the code below:

    <script async type="application/javascript"
            src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
    <script>
      (self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
        basicSubscriptions.init({
          type: "NewsArticle",
          isPartOfType: ["Product"],
          isPartOfProductId: "CAowkPCZCw:openaccess",
          clientOptions: { theme: "light", lang: "en" },
        });
      });
    </script>

    However, in the snippet code does not make any changes, it’s working as it is. Only changes happened in this line Only changes happened in this line:

    https://paste.pics/Q126I

    We recommend checking for conflicts with other plugins. If the issue persists, please let us know.

Viewing 1 replies (of 1 total)
  • The topic ‘Google Revenue Manager Snippet Error’ is closed to new replies.