# Social Media

If desired, buttons for sharing the respective affiliate link on social networks can be easily provided. The corresponding buttons are then displayed - if activated - both in the customer's personal affiliate area and on product detail pages.

The display is, of course, adapted to the respective theme of the store - for example, this is what it might look like in the Shopware standard theme:

<figure><img src="/files/OSWxiFNPWYuoQAOtIzs8" alt="Example of buttons for sharing the affiliate link"><figcaption><p>Example of buttons for sharing the affiliate link</p></figcaption></figure>

#### Show WhatsApp button

Displays a button for sharing the affiliate link on WhatsApp. This uses the official WhatsApp API, which can be integrated at <https://api.whatsapp.com/send/> by transferring the desired parameters. If desired and configured, the "Standard text before the link" is displayed.

#### Show Telegram button

Displays a button for sharing the affiliate link on Telegram. This uses Telegram's official API, which offers the option to share content at the URL <https://t.me/share/url> with the desired parameters. If desired and configured, the "Standard text before the link" is displayed.

#### Use Web Share API

This configuration uses the official Web Share API to integrate a native share button. When clicked, the respective browser/operating system displays a full menu for sharing the affiliate link.

#### Standard text before the link

Here you can define a text that will be displayed before the URL in the respective social media application. It can be used, for example, to politely promote shopping in the online store and provide further information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codegiganten.de/plugin-documentation/en/apps/affiliate-marketing/configuration/social-media.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
