Page 1 of 1

Partner code

Posted: Sun Apr 23, 2023 11:45 am
by 1dtravel
I want to insert an affiliate program widget. When I paste on the page, nothing appears. What is the best way to embed it in certain parts of the site?

Vidget:

<div data-gyg-href="https://widget.getyourguide.com/default ... lity.frame" data-gyg-tour-id="130206" data-gyg-locale-code="en-US" data-gyg-currency="USD" data-gyg-widget="availability" data-gyg-theme="light" data-gyg-variant="horizontal" data-gyg-partner-id="104DU3C"></div>

Re: Partner code

Posted: Sun Apr 23, 2023 1:02 pm
by multicolordev
https://plugins.bludit.com/plugin/components try this, and paste function on template:)

Re: Partner code

Posted: Mon Apr 24, 2023 12:13 am
by Edi
You also have to add the analytics code. You can do this using the plugin HTML Code.

Re: Partner code

Posted: Mon Apr 24, 2023 10:58 am
by 1dtravel
I installed the plugin. But nothing works. I even inserted the code just into the file home.php but it doesn't work either. I can't understand why? The code is visible on the page in the source code, but the information does not work. I checked on another site on bare html - everything works there. Do you have any other ideas how to make it work on the bludit website?

Re: Partner code

Posted: Mon Apr 24, 2023 11:58 am
by Edi
As I wrote: You also have to add the snippet with the analytics code. Have you done it?

Re: Partner code

Posted: Tue Apr 25, 2023 9:37 am
by 1dtravel
It works with the analytics code. Thanks Edi.